다음을 통해 공유


SearchForObjectBySID Method

Topic Last Modified: 2006-06-13

Returns an entity object found by searching for a specific SID.

Applies To

DACL Object

Syntax


objEntity  objDACL.SearchForObjectBySID(strSID);

Parameters

  • strSID
    A string value of the name of the security identifier such as "S-1-1-0".

Return Value

A returned entity object.

Example

var objEntity = objDacl.SearchForObjectBySID("S-1-5-21-1343024091-1060284298-1417001333-1107");
if(null == objEntity){
    //this user was not likely in the dacl
}