dms.DeleteSD

With this job, the access control entry of a user/group or the entire access control list for a specified object can be deleted.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Controls what is deleted:
0 — Object via ObjectType/ObjectID: the entire Security Descriptor (all ACEs) will be deleted.
1 — Object via Ossd: all ACEs of the user/group specified by Osuid will be deleted.
2 — Object via ObjectType/ObjectID: all ACEs of the user/group specified by Osuid will be deleted.

[ObjectType]

INT

No

Type of the object (for Flags 0 or 2)

[ObjectID]

INT

No

ID of the object instance (for Flags 0 or 2)

[Ossd]

STRING

No

GUID of the Security Descriptor (for Flags 1)

[Osuid]

STRING

No

GUID of the user/group whose access rights should be deleted (for Flags 1 or 2)

2. Return Value

(INT): 0 = Job successful, otherwise error code
Complete error list