win32security.DsWriteAccountSpn

DsWriteAccountSpn(hDS, Operation, Account, Spns)

Associates a set of service principal names with an account

Parameters

hDS : PyDS_HANDLE

Directory service handle as returned from win32security::DsBind

Operation : int

Constant from DS_SPN_WRITE_OP enum

Account : PyUnicode

Distinguished name of account whose Spn's will be modified

Spns : (PyUnicode ,...)

A sequence of target Spn's as returned by win32security::DsGetSpn