Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

Active Directory Client Extension on Windows NT 4.0 and Windows Me/98/95

Header

Ntdsapi.h

See also

DsWriteAccountSpn
Enumerations in Active Directory Domain Services

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.