IADsSecurityDescriptor::CopySecurityDescriptor

Copies an ADSI security descriptor object, which provides security information about an object.

HRESULT CopySecurityDescriptor(
  IDispatch ** ppSecurityDescriptor  //
);
 

Parameters

[out] ppSecurityDescriptor
Pointer to a security descriptor object.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

S_OK

See Also

IADsAccessControlEntry, IADsAccessControlList, ADSI AccessControlList Object, Using Credentials and Security