IDatabaseRepositoryHasAuthorization Method (AuthorizedItemType, String, String, Int32) |
Detects if the user has the required authorization level for the item.
Namespace:
PDTec.IceNet.Core.Database
Assembly:
PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax bool HasAuthorization(
AuthorizedItemType itemType,
string itemId,
string userName,
int authLevelRequired
)
Parameters
- itemType
- Type: PDTec.IceNet.Core.DatabaseAuthorizedItemType
Type of the item. - itemId
- Type: SystemString
The item id. - userName
- Type: SystemString
The user name. - authLevelRequired
- Type: SystemInt32
The required authorization level.
Return Value
Type:
Booleantrue if the user has the required authorization level, otherwise
false.
Remarks See Also