Click or drag to resize
IDatabaseRepositoryGetAuthorizationLevel Method (AuthorizedItemType, String, 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(
	AuthorizedItemType itemType,
	string itemId,
	string userName
)

Parameters

itemType
Type: PDTec.IceNet.Core.DatabaseAuthorizedItemType
Type of the item.
itemId
Type: SystemString
The item id.
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 item use the GetAuthorizations(AuthorizedItemType, String) method.
See Also