Share via


Save Method

Save 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.

Saves DACL object data to its item's security descriptor.

Applies To

DACL Object

Syntax

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

Parameters

  • 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

By design, this method does not save any inherited entities.

Important  Storing usernames and passwords in script files poses a security risk. If you write a script on a Web page that runs on a client for a browser other than Internet Explorer, the username and password will be passed in plain text to the UISaveDacl.asp file—a bigger security risk.

Example

var objResult = objDacl.Save();

if(FAILED(objResult.number)){ //show an error msg here, using objResult.description }

See Also

Load 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.