Gets the workgroup activations for the given user.

Namespace: ININ.IceLib.People
Assembly: ININ.IceLib.People (in ININ.IceLib.People.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public static ReadOnlyCollection<UserWorkgroupActivation> GetActivationsForUser(
	PeopleManager peopleManager,
	string userId
)
Visual Basic
Public Shared Function GetActivationsForUser ( _
	peopleManager As PeopleManager, _
	userId As String _
) As ReadOnlyCollection(Of UserWorkgroupActivation)

Parameters

peopleManager
Type: ININ.IceLib.People..::..PeopleManager
The people manager.
userId
Type: System..::..String
The user id.

Return Value

The list of workgroups and activations for the supplied user.

Remarks

Note
This method call will result in a call to the server. This call can potentially time out, and caution should be taken to ensure that this call is made as few times as possible.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionAn argument is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentExceptionAn argument is Empty.
ININ.IceLib.Connection..::..RequestTimeoutExceptionThe request timed out while waiting for a response.
ININ.IceLib.Connection..::..SessionDisconnectedExceptionThe Session does not have a valid connection.
System..::..ObjectDisposedExceptionThe Session has been disposed.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.

See Also