This documentation is archived and is not being maintained.

IGroupSecurityService::IsMember Method

Checks whether an identity (e.g. a user or a group) is a member (either direct or indirect) of a group.

Namespace:  Microsoft.TeamFoundation.Server
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

bool IsMember(
	String^ groupSid, 
	String^ identitySid
)

Parameters

groupSid
Type: System::String

the unique identifier for the group

identitySid
Type: System::String

the unique identifier for the identity

Return Value

Type: System::Boolean
True if and only if the identity is a member (either direct or indirect) of the group; otherwise, false

Show: