Platform SDK: Exchange Server |
Generates a Windows NT account security descriptor using the account information specified.
HRESULT GenerateSecDescriptor ( [in] BSTR bstrDomain, [in] BSTR bstrUserLogin, [out] VARIANT* varSecDes );
Public Sub GenerateSecDescriptor( bstrDomain as String, bstrUserLogin as String, ByRef varSecDes as Variant )
This method is used in the Mailbox sample as part of the creation of a new mailbox. The security descriptor generated is then passed to an IADs::Put call to set the mailbox's NT-Security-Descriptor attribute.