Click or drag to resize

DatabaseUtilsIsMemberOf Method

Retrieves if a party is a direct or an indirect member of a team.

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static bool IsMemberOf(
	IDatabaseRepository pRepository,
	string partyName,
	string teamName
)

Parameters

pRepository
Type: PDTec.IceNet.Core.DatabaseIDatabaseRepository
The database repository.
partyName
Type: SystemString
The party name.
teamName
Type: SystemString
The team name.

Return Value

Type: Boolean
true if the party is member of the team, otherwise false.
Remarks
If partyName == teamName the method returns true. Each party is considered member of itself.
See Also