Share via


RemoveByNT4Name Method

Topic Last Modified: 2006-06-13

Removes an entity object from a DACL object by a domain and username.

Applies To

DACL Object

Syntax


objResult  objDACL.RemoveByNT4Name(strNT4Name);

Parameters

  • strNT4Name
    A string value of the domain and username of a security principal.

Return Value

An object that returns error codes and descriptions.

Example

var objErr = objDacl.RemoveByNT4Name("MYDOMAIN\\User1");
if(FAILED(objErr.number)){
    //there was an error removing that user, print objErr.description
}