This documentation is archived and is not being maintained.

CreateSecurityDACL Method

Exchange Server 2003

CreateSecurityDACL Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Creates a DACL object from an item's security descriptor.

Applies To


objDACL  objDACL.CreateSecurityDACL([nLocation]);


Optional. Specifies whether to create the object on the server (default) or on the client. See the following table.
SECURITY_ON_SERVER()0 (default)Creates the DACL object on the server using ADO to manipulate the security descriptor.
SECURITY_ON_CLIENT()1Creates the DACL object on the client using XMLHTTP to manipulate the security descriptor.

Return Value

The created DACL object.


This method returns a NULL value if it fails to create the object.


var objDacl = CreateSecurityDACL(SECURITY_ON_SERVER());