Back to API Home

Gets a Group specified by its ID.

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 GetByIdAsync(
	Guid groupId,
	OnCompleted<Group> callback
)
Visual Basic
Public Shared Sub GetByIdAsync ( 
	groupId As Guid,
	callback As OnCompleted(Of Group)
)

Parameters

groupId
Type: System..::..Guid
The group's ID.
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