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: 7.2.0.0 (7.2.7583.15464)
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