CreateSecurityDACL Method

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

DACL Object

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.
    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());

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.