다음을 통해 공유


SearchForIndexByNT4Name Method

Topic Last Modified: 2006-06-13

Returns the index of an entity in a DACL object by the domain and username of a user or group.

Applies To

DACL Object

Syntax


ndxEntity  objDACL.SearchForIndexByNT4Name(strNT4Name);

Parameters

  • strNT4Name
    A string value of the domain and username of a security principal, such as a user or group.

Return Value

A long value of the entity s index. This method returns a negative number if the entity is not found.

Remarks

Entity objects in a DACL are zero-based. The index for the first entity in the DACL is zero.