Export (0) Print
Expand All

AUTHZ_SID_OPERATION enumeration

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 { 
  AUTHZ_SID_OPERATION_NONE         = 0,
  AUTHZ_SID_OPERATION_REPLACE_ALL  = 1,
  AUTHZ_SID_OPERATION_ADD          = 2,
  AUTHZ_SID_OPERATION_DELETE       = 3,
  AUTHZ_SID_OPERATION_REPLACE      = 4
} AUTHZ_SID_OPERATION;

Constants

AUTHZ_SID_OPERATION_NONE

Do not modify anything.

AUTHZ_SID_OPERATION_REPLACE_ALL

Deletes 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_ADD

Adds a new SID. If the SID already exists, the call fails.

AUTHZ_SID_OPERATION_DELETE

Deletes the specified SID. If no matching SID is found, no modifications are done and the call fails.

AUTHZ_SID_OPERATION_REPLACE

Replaces the existing SID with the specified SID. If the SID does not already exist, then adds the SID.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Authz.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft