IADsSecurityDescriptor Property Methods

Property methods take the form of either get_<property> or put_<property>. The property methods of the IADsSecurityDescriptor interface get or set the properties described below. For more information, see Interface Property Methods.

Properties in Vtable Order

Property Access Method Prototype
Revision R/W HRESULT get_Revision
([out] LONG *plRevision);

HRESULT put_Revision
([in]LONG lRevision)

Control R/W HRESULT get_Control
([out] LONG *plControl);

HRESULT put_Control
([in] LONG lControl)

Owner R/W HRESULT get_Owner
([out] BSTR *pbstrOwnerl);

HRESULT put_Owner
([in] BSTR bstrOwner)

OwnerDefaulted R/W HRESULT get_OwnerDefaulted
([out] VARIANT_BOOL * fOwnerDefaulted);

HRESULT put_OwnerDefaulted
([in] VARIANT_BOOL fOwnerDefaulted)

Group R/W HRESULT get_Group(BSTR *pbstrGroupl);

HRESULT put_Group(BSTR bstrGroup)

GroupDefaulted HRESULT get_GroupDefaulted
([out] VARIANT_BOOL * fGroupDefaulted);

HRESULT put_GroupDefaulted
([out] VARIANT_BOOL fGroupDefaulted);

DiscretionaryAcl R/W HRESULT get_DiscretionaryAcl
([out] IDispatch **ppIDispDACL)

HRESULT put_DiscretionaryAcl
([in] IDispatch *pIDispDACL)

DaclDefaulted HRESULT get_DaclDefaulted
([out] VARIANT_BOOL * fDaclDefaulted);

HRESULT put_DaclDefaulted
([out] VARIANT_BOOL fDaclDefaulted);

SystemAcl R/W * HRESULT get_SystemAcl
([out] IDispatch **ppIDispSACL)

HRESULT put_SystemAcl
([in] IDispatch *pIDispSACL)

SaclDefaulted HRESULT get_SaclDefaulted
([out] VARIANT_BOOL * fSaclDefaulted);

HRESULT put_SaclDefaulted
([out] VARIANT_BOOL fSaclDefaulted);


Property Descriptions

Revision
Revision level of the security descriptor. This value is taken from the Win32 ACL_REVISION_INFORMATION structure. All ACEs in an ACL must be at the same revision level.
Control
Flags that qualify the meaning of the security descriptor. Values are taken from the Win32 SECURITY_DESCRIPTOR_CONTROL structure.
Owner
Owner of the object.
OwnerDefaulted
TBD
Group
Group to which the owner's security ID belongs.
GroupDefaulted
TBD
DiscretionaryAcl
Discretionary access control list that specifies types of access allowed to the object for specified users and groups.
DaclDefaulted
TBD
SystemAcl
System access control list used to generate audit records for the object.
SaclDefaulted
TBD

See Also

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