Back to API Home

Gets a Group specified by its name.

Namespace: Dundas.Dashboard.Administration
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)

Syntax

C#
public static void GetByNameAsync(
	string groupName,
	OnCompleted<Group> callback
)
Visual Basic
Public Shared Sub GetByNameAsync ( 
	groupName As String,
	callback As OnCompleted(Of Group)
)

Parameters

groupName
Type: System..::..String
The group's name.
callback
Type: Dundas.Dashboard..::..OnCompleted<(Of <(<'Group>)>)>
The callback that is invoked when the method completes.

Exceptions

ExceptionCondition
Dundas.Dashboard..::..ObjectNotFoundExceptionThe group does not exist.
Dundas.Dashboard..::..NoPrivilegeExceptionNo privilege for attempted operation.
Dundas.Dashboard..::..InvalidArgumentExceptionA callback delegate must be specified.
Dundas.Dashboard..::..InvalidSessionExceptionYour session is no longer valid.

See Also