IDatabaseRepositoryCheckAuthorization Method (AuthorizedItemType, String, String, Int32) |
Namespace: PDTec.IceNet.Core.Database
void CheckAuthorization( AuthorizedItemType itemType, string itemId, string userName, int authLevelRequired )
| Exception | Condition |
|---|---|
| AuthorizationException | This is the base class of all exceptions thrown when the user does not have the required authorization level. |
| FolderAuthorizationException | Thrown when the item is a folder and the user does not have the required authorization level. |
| ObjectAuthorizationException | Thrown when the item is an object and the user does not have the required authorization level. |
| PackageAuthorizationException | Thrown when the item is a package and the user does not have the required authorization level. |
| PartyAuthorizationException | Thrown when the item is a party and the user does not have the required authorization level. |
| ProfileAuthorizationException | Thrown when the item is a profile and the user does not have the required authorization level. |