Share via


Load Method

Load 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 by loading security descriptor information from an Exchange store item.

Applies To

DACL Object

Syntax

[JScript] objResult  objDACL.Load(strURL, [strUser,] [strPwd]);

Parameters

  • strURL
    A string value of the URL of the Exchange store item for loading its security descriptor into a DACL object.
  • strUser
    Optional. A string value of the username required for accessing the secured item.
  • strPwd
    Optional. A string value of the password required for accessing the secured item.

Return Value

An object that returns error codes and descriptions.

Remarks

The username and password are optional because the current user's authentication should already be established by enabling Integrated Authentication in Microsoft Internet Information Services (IIS).

Important  Storing usernames and passwords in script files poses a security risk.

Example

var objDacl = CreateSecurityDacl();

var objResult = objDacl.Load("https://server/folder/someitem"); if(FAILED(objResult.number)){ //show an error msg here, using objResult.description }

See Also

Save Method

SaveTo Method

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.