Click or drag to resize

UserManagementUtilsGetAllAuthorizedUsers Method (IDatabaseRepository, String, Int32)

Retrieves all users 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<IUser> GetAllAuthorizedUsers(
	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: ListIUser
A list of users that that have at least the specified authorization level.
Remarks
This method recursively collects members of authorized teams. This method does not evaluate "System.All" profile permissions.
See Also