IUserHierarchyServiceInsertLevel Method (UserHierarchy, Int32, Guid) |
Namespace: Dundas.BI.Entities.UserHierarchies
UserHierarchyLevel InsertLevel( UserHierarchy hierarchy, int levelIndex, Guid entityId )
| Exception | Condition |
|---|---|
| InvalidSessionException | The caller context is not associated with a valid session. |
| ArgumentNullException | hierarchy is . |
| NotSupportedException | The data structure with the specified ID cannot be used as a data source for the user hierarchy. |
| NotFoundException | The data structure with the specified ID doesn't exist or cannot be discovered. |
| ArgumentOutOfRangeException | levelIndex is not a valid level index. |
| InvalidOperationException | The entity has never been saved before. -or- The entity is not checked out to the caller. |