A Sandcastle Documented Class Library

# UserHierarchy GetLevel Method

Gets the level by its unique name.

Namespace: Dundas.BI.Entities.UserHierarchies
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public UserHierarchyLevel GetLevel(
    	string uniqueName
    )

    Public Function GetLevel (
    	uniqueName As String
    ) As UserHierarchyLevel

    public:
    UserHierarchyLevel^ GetLevel(
    	String^ uniqueName
    )

    member GetLevel :
            uniqueName : string -> UserHierarchyLevel

#### Parameters

uniqueName
  Type: System
  String
  The unique name of the level.

#### Return Value

Type: UserHierarchyLevel
The hierarchy level.
Exceptions

Exception | Condition
--- | ---
ArgumentException | The was or empty.
NotFoundException | The level with the specified unique name was not found.

See Also

#### Reference

UserHierarchy Class
Dundas.BI.Entities.UserHierarchies Namespace