Gets the workgroup activations for the given user.
Namespace: ININ.IceLib.PeopleAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentNullException | An argument is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::..ArgumentException | An argument is Empty. |
ININ.IceLib.Connection..::..RequestTimeoutException | The request timed out while waiting for a response. |
ININ.IceLib.Connection..::..SessionDisconnectedException | The Session does not have a valid connection. |
System..::..ObjectDisposedException | The 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.
For 4.0, supported for IC Server version 4.0 GA and beyond.