Save Method
Topic Last Modified: 2006-06-13
Saves DACL object data to its item s security descriptor.
Applies To
Syntax
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
}