Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The AUTHZ_SID_OPERATION enumeration indicates the type of SID operations that can be made by a call to the AuthzModifySids function.
Syntax
typedef enum {
AUTHZ_SID_OPERATION_NONE = 0,
AUTHZ_SID_OPERATION_REPLACE_ALL,
AUTHZ_SID_OPERATION_ADD,
AUTHZ_SID_OPERATION_DELETE,
AUTHZ_SID_OPERATION_REPLACE
} AUTHZ_SID_OPERATION, *PAUTHZ_SID_OPERATION;
Constants
AUTHZ_SID_OPERATION_NONEValue: 0 Do not modify anything. |
AUTHZ_SID_OPERATION_REPLACE_ALLDeletes all existing SIDs and replaces them with the specified SIDs. If the replacement SIDs are not specified, all existing SIDs are deleted. This operation can be specified only once and must be the only operation specified. |
AUTHZ_SID_OPERATION_ADDAdds a new SID. If the SID already exists, the call fails. |
AUTHZ_SID_OPERATION_DELETEDeletes the specified SID. If no matching SID is found, no modifications are done and the call fails. |
AUTHZ_SID_OPERATION_REPLACEReplaces the existing SID with the specified SID. If the SID does not already exist, then adds the SID. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Header | authz.h |