Platform SDK: TAPI

ITDirectoryObject::put_SecurityDescriptor

This method sets 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 put_SecurityDescriptor(
  IDispatch *pSecDes
);

Parameters

pSecDes
[in] IDispatch pointer on a directory service security descriptor object.

Remarks

Changes made will not take effect on the server until the ITDirectory::ModifyDirectoryObject method is called.

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The pSecDes parameter is not a valid pointer.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.
E_FAIL Unspecified error.
E_NOTIMPL This method is not yet implemented.

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::get_SecurityDescriptor