Share via


SearchForObjectBySID Method

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

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

Applies To

DACL Object

Syntax

[JScript] 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 }

See Also

SearchForObjectByDisplayName Method

SearchForObjectByMask Method

SearchForObjectByNT4Name Method

SearchForObjectBySIDType Method

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