Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

DELETE-PRIVILEGE-SET Delete privilege set

Domain:

SECURITY-ADMINISTRATION

Privileges:

SECURITY-ADMINISTRATION

This command deletes a privilege set from the user catalog. The name and the definitions are deleted. The command is rejected if the privilege set is still assigned to at least one user ID.

DELETE-PRIVILEGE-SET

PRIVILEGE-SET-NAME = <name 1..8>

,PUBSET = *HOME / <cat-id 1..4>

PRIVILEGE-SET-NAME = <name 1..8>
The name of the privilege set to be deleted.

PUBSET = *HOME / <cat-id 1..4>
The pubset on which the privilege set is to be deleted.

PUBSET = *HOME
The privilege set is to be deleted on the home pubset.

PUBSET = <catid 1..4>
The privilege set is to be deleted on the specified pubset.

Command return codes

(SC2)

SC1

Maincode

Meaning


0

CMD0001

Command executed without errors


32

SRM6020

System error during command execution


130

SRM6040

Semantic error during command execution


64

SRM6030

Command cannot be executed at the present time

Example

A privilege set can be deleted only when it is no longer assigned to any user IDs. The following command sequence can be used to delete a privilege set which is still assigned to a user ID when the /DELETE-PRIVILEGE-SET command is issued for the first time.

/delete-privilege-set privilege-set-name=archive

% SRM4050 PRIVILEGE SET ‘ARCHIVE‘ IS STILL ASSIGNED TO AT LEAST ONE USER

ID ON PVS ‘ABC1‘. COMMAND REJECTED

/show-privilege information=user-identification( -
/               privilege=privilege-set(privilege-set-name=archiv))

USER-IDENTIFICATIONS HAVING PRIVILEGE SET ARCHIVE ON PVS ABC1

USERID1

/reset-privilege privilege=privilege-set(privilege-set-name=archiv), -
/                user-identification=userid1

/delete-privilege-set privilege-set-name=archive

Since the privilege set ARCHIVE was the only privilege set which exists for the examples, issuing /SHOW-PRIVILEGE-SET now results in the following reaction:

/show-privilege-set information=privilege(privilege-set-name=*all)

% SRM4052 NO PRIVILEGE SET DEFINED ON PUBSET ‘ABC1‘