IUserHierarchyServiceGenerateHierarchy Method (Guid, Guid, PersistencePolicy) | 
Namespace: Dundas.BI.Entities.UserHierarchies
UserHierarchy GenerateHierarchy( Guid parentId, Guid entityId, PersistencePolicy persistencePolicy )
| Exception | Condition | 
|---|---|
| ArgumentException | parentId or entityId was Empty. | 
| 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. | 
| DataProviderLoadException | The data provider may throw this exception if it requires third party driver to be installed. | 
| DataConnectionException | The connection cannot be established. | 
| QuotaExceededException | Generating the hierarchy would cause the entity quota for hierarchies or one of the underlying entity types to be exceeded. | 
| NoPrivilegeException | The Caller does not have access to the specified entity. -or- The caller does not have access to save in the specified location.  | 
| InvalidSessionException | The caller context is not associated with a valid session. |