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: 6.0.0.0 (6.0.6225.27214)
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