Click or drag to resize

UserManagementUtilsGetAuthorizedParties Method (IDatabaseRepository, IObject, Int32)

Retrieves the parties 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<IParty> GetAuthorizedParties(
	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: 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