Click or drag to resize

IDatabaseRepositoryGetAuthorizationLevel Method (IPackage, String)

Gets the authorization level.

Namespace:  PDTec.IceNet.Core.Database
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
int GetAuthorizationLevel(
	IPackage pPackage,
	string userName
)

Parameters

pPackage
Type: PDTec.IceNet.Core.ModelIPackage
The package.
userName
Type: SystemString
The user name.

Return Value

Type: Int32
The authorization level.
Remarks
This method recognizes authorization derived by group/role membership. To retrieve the actual ACL entries of this package use the GetAuthorizations(IPackage) method.
See Also