Export (0) Print
Expand All

IADsSecurityUtility::SecurityMask property

The SecurityMask property determines which elements of the security descriptor to retrieve or set. This property must be set prior to calling IADsSecurityUtility.GetSecurityDescriptor or IADsSecurityUtility.SetSecurityDescriptor.

This property is read/write.

Syntax


HRESULT put_SecurityMask(
  [in]   long lnSecurityMask
);

HRESULT get_SecurityMask(
  [out]  long *retval
);

Property value

Contains zero or a combination of one or more of the ADS_SECURITY_INFO_ENUM values that determines which elements of the security descriptor to retrieve or set.

Error codes

Returns S_OK if successful or a COM or Win32 error code otherwise.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Iads.h

DLL

Activeds.dll

IID

IID_IADsSecurityUtility is defined as A63251B2-5F21-474B-AB52-4A8EFAD10895

See also

IADsSecurityUtility.GetSecurityDescriptor
IADsSecurityUtility.SetSecurityDescriptor
ADS_SECURITY_INFO_ENUM
IADsSecurityUtility

 

 

Show:
© 2014 Microsoft