Share via


SearchForObjectByNT4Name Method

SearchForObjectByNT4Name 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 Microsoft® Windows NT® Security Accounts Manager (SAM)-compatible name, such as "MyDomain\User1".

Applies To

DACL Object

Syntax

[JScript] objEntity  objDACL.SearchForObjectByNT4Name(strNT4Name);

Parameters

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

Return Value

A returned entity object.

Example

var objEntity = objDacl.SearchForObjectByNT4Name("MYDOMAIN\\User1");

if(null == objEntity){

// This user was not likely in the DACL. }

See Also

SearchForObjectByDisplayName Method

SearchForObjectByMask Method

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