RemoveBySID Method
Topic Last Modified: 2006-06-13
Removes an entity object from a DACL object by searching for a specific SID.
Applies To
Syntax
objResult objDACL.RemoveBySID(strSID);
Parameters
- strSID
A string value of the name of the security identifier such as "S-1-1-0".
Return Value
An object that returns error codes and descriptions.
Example
var objErr = objDacl.RemoveBySID("S-1-5-21-1343024091-1060284298-1417001333-1107");
if(FAILED(objErr.number)){
//there was an error removing that user, print objErr.description
}