Platform SDK: TAPI

ITDirectoryObject::get_SecurityDescriptor

This method gets an IDispatch pointer on a directory service security descriptor object describing current security permissions. For additional information on security descriptors, please search the Platform SDK under "IADsSecurityDescriptor".

HRESULT get_SecurityDescriptor(
  IDispatch **ppSecDes
);

Parameters

ppSecDes
[out] IDispatch pointer on a directory service security descriptor object.

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The ppSecDes parameter is not a valid pointer.
E_FAIL Initialization of security descriptor failed.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.

Remarks

If the security descriptor has not been set, this method will set ppSecDes to NULL.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Rend.h.
  Library: Use Rendid.lib.

See Also

ITDirectoryObject, ITDirectoryObject::put_SecurityDescriptor