Group Manager (.NET)

In Relativity, you can organize users by assigning them to one or more groups. Additionally, you can set permissions for a group. For more information, see Groups in the Relativity Documentation site.

The Group Manager API exposes methods that provide the following functionality:

  • CRUD and query operations on groups.
  • Helper methods for adding and removing users.
  • Helper methods for querying on available users and clients to associate with a group.
  • Mass operations for adding and removing multiple users to or from multiple groups.

As a sample use case, you might create an application with a custom interface for adding multiple users with a mass operation.

You can also use the Group Manager API through REST. For more information, see Group Manager (REST).

The Relativity.Identity.SDK contains this API. For compatibility and package installation instructions, see Download the SDKs and NuGet packages.

Fundamentals for the Group Manager API

Review the following information to learn about the methods and classes used by the Group Manager API.

Create a group

When creating a group, you can use the QueryEligibleClients() method to retrieve a list of available clients to associate with it. See Query for clients to associate with a group.

Retrieve a group

Update a group

Delete a group

Query for group members

Add users to a group

When adding users to a group, you can use the QueryEligibleUsersToAdd() method to retrieve a list of available users. See Query for users to add to a group.

You can pass optional CancellationToken and IProgress<ProgressReport> objects to this overloaded method.

Remove users from a group

Helper methods for users and clients

The Group Manager API exposes multiple helper methods that you can use to query for information about users and clients.

Query for clients to associate with a group

Query for users to add to a group

Query for groups assigned to a user

Mass operations on groups

You can use mass operations to add or remove multiple users to or from multiple groups in a single API call.

Add multiple users to multiple groups

Remove multiple users from multiple groups