Click or drag to resize

UserManagementUtilsGetAllAuthorizedUsers Method (IDatabaseRepository, IObject, Int32)

Retrieves all users that have at least the specified authorization level on an object.

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,
	IObject pObject,
	int authorizationLevel
)

Parameters

pRepository
Type: PDTec.IceNet.Core.DatabaseIDatabaseRepository
The repository.
pObject
Type: PDTec.IceNet.Core.ModelIObject
The object 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