SearchForObjectBySIDType Method
SearchForObjectBySIDType 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 specified SID type.
Applies To
Syntax
[JScript] objEntity objDACL.SearchForObjectBySIDType(strSIDType);
Parameters
- strSIDType
A string value of one of the security identifier types as listed in the following table.
Security Identifier Type (SID) user group domain alias well_known_group deleted_account invalid unknown computer
Return Value
A returned entity object.
Remarks
If there is more than one entity in the DACL with the same SID Type attribute, this method only returns one object of the first matched entity.
Example
var objEntity = objDacl.SearchForObjectBySIDType("group");
if(null == objEntity){ // since its null, no groups were in the dacl }
See Also
SearchForObjectByDisplayName 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.