<PackageReference Include="Relativity.API" Version="17.0.4" />

Relativity.API.Foundation.IContextualInformation

public interface IContextualInformation
Specifies contextual information pertaining to the inheriting module.
int WorkspaceID { get; }

The Workspace Artifact ID of the current context.

int WorkspaceUserID { get; }

The Workspace User Artifact ID of the current context.