Export (0) Print
Expand All

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

Syntax

        [JScript]
objDACL  objDACL.CreateSecurityDACL([nLocation]);

Parameters

nLocation
Optional. Specifies whether to create the object on the server (default) or on the client. See the following table.
ConstantValueDescription
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.

Remarks

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

Example

var objDacl = CreateSecurityDACL(SECURITY_ON_SERVER());
Show:
© 2014 Microsoft