UserRepository Class

Relativity Services API
The UserRepository contains methods which apply to Users.
Inheritance Hierarchy

System.Object
  kCura.Relativity.Client.Repositories.GenericRepository<User>
    kCura.Relativity.Client.Repositories.UserRepository

Namespace:  kCura.Relativity.Client.Repositories
Assembly:  kCura.Relativity.Client (in kCura.Relativity.Client.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

public class UserRepository : GenericRepository<User>

The UserRepository type exposes the following members.

Methods

  NameDescription
Public methodCreate(List<T>)
Creates the specified Artifacts.
(Inherited from GenericRepository<T>.)
Public methodCreate(T[])
Creates the specified Artifacts.
(Inherited from GenericRepository<T>.)
Public methodCreateSingle
Creates a single Artifact of the supplied DTO type.
(Inherited from GenericRepository<T>.)
Public methodDelete(List<Int32>)
Deletes the specified Artifacts.
(Inherited from GenericRepository<T>.)
Public methodDelete(Int32[])
Deletes the specified Artifacts.
(Inherited from GenericRepository<T>.)
Public methodDelete(T[])
Deletes the specified Artifacts.
(Inherited from GenericRepository<T>.)
Public methodDeleteSingle(Guid)
Deletes the specified Artifact.
(Inherited from GenericRepository<T>.)
Public methodDeleteSingle(Int32)
Deletes the specified Artifact.
(Inherited from GenericRepository<T>.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMassCreate
Creates RDO instances for each ArtifactRequest in artifacts based on the Field values provided by a 'template' ArtifactRequest.
(Inherited from GenericRepository<T>.)
Public methodMassEdit
Applies the Field values from the 'template' artifact to each of the Artifacts identified by the array of ArtifactIDs.
(Inherited from GenericRepository<T>.)
Public methodQuery
Queries Relativity to find Artifacts matching the selection criteria.
(Inherited from GenericRepository<T>.)
Public methodQuerySubset
Fetches additional search results after a call to Query.
(Inherited from GenericRepository<T>.)
Public methodRead(List<Int32>)
Reads the specified Artifacts. For each Artifact, all fields will be returned.
(Inherited from GenericRepository<T>.)
Public methodRead(Int32[])
Reads the specified Artifacts. For each Artifact, all fields will be returned.
(Inherited from GenericRepository<T>.)
Public methodRead(T[])
Reads the specified Artifacts.
(Inherited from GenericRepository<T>.)
Public methodReadSingle(Guid)
Returns the Artifact matching the specified artifact GUID.
(Inherited from GenericRepository<T>.)
Public methodReadSingle(Int32)
Returns the Artifact matching the specified artifact ID.
(Inherited from GenericRepository<T>.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate(List<T>)
Updates the specified Artifacts.
(Inherited from GenericRepository<T>.)
Public methodUpdate(T[])
Updates the specified Artifacts.
(Inherited from GenericRepository<T>.)
Public methodUpdateSingle
Updates the specified Artifact.
(Inherited from GenericRepository<T>.)
Top
Extension Methods

  NameDescription
Public Extension MethodCreateItem<User>
Creates the specified Artifact object and adds it to the current Repository.
(Defined by GenericRepositoryExtensions.)
Public Extension MethodDeleteItem<User>
Deletes the specified Artifact.
(Defined by GenericRepositoryExtensions.)
Public Extension MethodReadItem<User>
Reads the specified Artifact.
(Defined by GenericRepositoryExtensions.)
Public Extension MethodUpdateItem<User>
Updates the specified Artifact.
(Defined by GenericRepositoryExtensions.)
Top
Remarks

System administrators can retrieve data about all users in Relativity when they perform read or query operations.

When users who are not system administrators query for all users without specifying a condition, the read and query operations only return their individual information. The properties returned on the individual’s User object is only a subset of the available settings, which includes those available to non-administrative users in the Relativity web UI, as well as a list of groups that include the user as a member. The group objects will only contain the group Artifact IDs, which a user can then use to query for group names. If the query includes a condition, information about any other users is filtered out, and only their individual information is returned as previously described.

See Also

Reference