Substitute users (IRPCSubstituteUsers)

View as Markdown

Reads and sets the substitute users of users.

gRPC serviceMFiles.IRPCSubstituteUsers
Book and levelVault API, standard
Methods4
Proto filemfiles/IRPCSubstituteUsers.proto

Overview

Reads and sets substitute users: users or user groups who act for a user, for example during an absence. A substitute sees the assignments of the users they substitute for in views that use the "current user and substituted users" pseudo user, such as the built-in Assigned to Me view.

The session's own view of substitution is in the login response: SessionData.vault_data.substitute_users lists the session's user followed by the users that this user currently substitutes for.

Substitution can be turned off for the whole server. Then the get methods return empty lists and SetSubstituteUsers fails with "Access denied.".

Methods

MethodSummaryFacts
GetSubstituteUsersGets the substitutes of the calling user.read session idempotent returns metadata structure version
GetSubstituteUsersOfUserGets the substitutes of any user (administration).read session idempotent returns metadata structure version
GetUsersBySubstituteUserGets the users for whom a given user is a substitute, directly or through group membership (administration).read session idempotent returns metadata structure version
SetSubstituteUsersReplaces the substitutes of the calling user.write session idempotent returns metadata structure version