Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DS_SPN_WRITE_OP

DS_SPN_WRITE_OP enumeration

The DS_SPN_WRITE_OP enumeration identifies the type of write operation that should be performed by the DsWriteAccountSpn function.

Syntax


typedef enum  { 
  DS_SPN_ADD_SPN_OP      = 0,
  DS_SPN_REPLACE_SPN_OP  = 1,
  DS_SPN_DELETE_SPN_OP   = 2
} DS_SPN_WRITE_OP;

Constants

DS_SPN_ADD_SPN_OP

Adds the specified service principal names (SPNs) to the object identified by the pszAccount parameter in DsWriteAccountSpn.

DS_SPN_REPLACE_SPN_OP

Removes all SPNs currently registered on the account identified by the pszAccount parameter in DsWriteAccountSpn and replaces them with the SPNs specified by the rpszSpn parameter in DsWriteAccountSpn.

DS_SPN_DELETE_SPN_OP

Deletes the specified SPNs from the object identified by the pszAccount parameter in DsWriteAccountSpn.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Ntdsapi.h

See also

DsWriteAccountSpn
Enumerations in Active Directory Domain Services

 

 

Show:
© 2015 Microsoft