CreateSecurityDACL Method
Topic Last Modified: 2006-06-13
Creates a DACL object from an item s security descriptor.
Applies To
Syntax
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.Constant Value Description SECURITY_ON_SERVER()
0 (default)
Creates the DACL object on the server using ADO to manipulate the security descriptor.
SECURITY_ON_CLIENT()
1
Creates 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());