DESECURE PROCEDURE command: Removing class security

From m204wiki
Jump to navigation Jump to search

Summary

Privileges
File manager
Function
Removes access privileges for particular user classes associated with particular procedure classes

Syntax

DESECURE PROCEDURE {ALL | [uclass-option] | [pclass-option] | [uclass-option,pclass-option]}

uclass-option

UCLASS[=(n1,n2,...)]

pclass-option

PCLASS[=(m1,m2,...)]

Where:

  • UCLASS=n1,n2,... are the identification numbers of an existing user class, whose users have access to the procedures in PCLASS; the number must be in the range 1 to 225. If only UCLASS is specified, all references to the specified user classes are removed from the Access Control Table (ACT).

  • PCLASS=m1,m2,... is the identification number of an existing procedure class to which users in UCLASS have access; the number must be in the range 1 to 255. If only PCLASS is specified, all references to the specified procedure classes are removed from the ACT.

  • If both UCLASS and PCLASS are specified, the entries for all combinations of the specified user and procedure class pairs are removed from the ACT.

Syntax notes

Parentheses are optional. However, if a left parenthesis is specified, the right is required. Commas are required. UCLASS and PCLASS can be specified in any order.

Example

The following example removes all references to procedure class 50 (for all user classes):

DESECURE PROC PCLASS = 50

The example below removes access privileges for the combinations of user classes and procedure classes listed after the example:

DESECURE PROC (UCLASS = 8,9,PCLASS = 1,2,3) User Class 8, Procedure Class 1 User Class 8, Procedure Class 2 User Class 8, Procedure Class 3 User Class 9, Procedure Class 1 User Class 9, Procedure Class 2 User Class 9, Procedure Class 3

Usage notes

The DESECURE PROCEDURE command removes particular access privileges for particular procedure classes. When these privileges are established by the SECURE PROCEDURE commands, Model 204 makes entries in the ACT. DESECURE removes certain entries from this table. These might be:

  • All entries for one or more user classes

  • All entries for one or more procedure classes

  • Entries for particular combinations of user classes and procedure classes