Click or drag to resize

UserManagementUtilsGetAuthorizedParties Method (IDatabaseRepository, String, Int32)

Retrieves the parties that have at least the specified authorization level on a profile.

Namespace:  PDTec.IceNet.Domain.UserManagement
Assembly:  PDTec.IceNet.Domain (in PDTec.IceNet.Domain.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static List<IParty> GetAuthorizedParties(
	IDatabaseRepository pRepository,
	string profileName,
	int authorizationLevel
)

Parameters

pRepository
Type: PDTec.IceNet.Core.DatabaseIDatabaseRepository
The repository.
profileName
Type: SystemString
The profile to be checked with authorization.
authorizationLevel
Type: SystemInt32
The required authorization score.

Return Value

Type: ListIParty
A list of parties that have at least the specified authorization level.
Remarks
This method does not recursively collect members of authorized teams. This method does not evaluate "System.All" profile permissions.
See Also