IRPCSubstituteUsers.SetSubstituteUsers

View as Markdown

Vault API / standard write session idempotent returns metadata structure version

Replaces the substitutes of the calling user.

ServiceSubstitute users MFiles.IRPCSubstituteUsers
gRPC method/MFiles.IRPCSubstituteUsers/SetSubstituteUsers
HTTP (mf-http-grpc)POST /grpc/v1/set-substitute-users
RequestSetSubstituteUsersRequest
ResponseSetSubstituteUsersResponse
Book and levelVault API, standard
Kindwrite
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionyes (in the mfiles-metadata-version-bin trailer)
Streamingnone (unary)

Remarks

Request: SetSubstituteUsersRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
substitutes[]repeated UserOrUserGroupIDThe complete new list of substitutes: users (USER_TYPE_USER) and user groups (USER_TYPE_USER_GROUP).
substitutes[].typeUserTypeUser type.Values: USER_TYPE_UNKNOWN (0), USER_TYPE_USER (1), USER_TYPE_USER_GROUP (2), USER_TYPE_WORKFLOW_STATE_PSEUDO_USER (3), USER_TYPE_PROPERTY_BASED_PSEUDO_USER (4).
substitutes[].idint32User or user group.

Response: SetSubstituteUsersResponse

No fields.