IRPCVault.GetUsersAndUserContainersOrDelta

View as Markdown

Vault API / core read session or assertion idempotent returns metadata structure version

Gets users and user groups of all types as JSON, or only the changes since a version the caller already has.

ServiceVault information MFiles.IRPCVault
gRPC method/MFiles.IRPCVault/GetUsersAndUserContainersOrDelta
HTTP (mf-http-grpc)POST /grpc/v1/get-users-and-user-containers-or-delta
RequestGetUsersAndUserContainersOrDeltaRequest
ResponseGetUsersAndUserContainersOrDeltaResponse
Book and levelVault API, core
Kindread
SessionRequired: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata).
Idempotentyes
Returns metadata structure versionyes (in the mfiles-metadata-version-bin trailer)
Streamingnone (unary)

Remarks

Works like GetUsersAndUserGroupsOrDelta but includes groups of all types. Used by M-Files clients; applications usually call GetUsersAndUserContainers instead.

Request: GetUsersAndUserContainersOrDeltaRequest

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

FieldTypeDescription
callers_current_users_versionint64The users version from your previous call, or 0 to get all users.
callers_current_user_groups_versionint64The user groups version from your previous call, or 0 to get all groups.
allow_receiving_deltaboolTrue to accept only the changes since the versions given.

Response: GetUsersAndUserContainersOrDeltaResponse

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

FieldTypeDescription
current_users_version_on_serverint64Receives the current version of the Users value list's data on the server. If this is the same as the one specified by the caller, no users are returned.
current_user_groups_version_on_serverint64Receives the current version of the User Groups value list's data on the server. If this is the same as the one specified by the caller, no user groups are returned.
usersbytesNUL-terminated JSON object (isDelta, removedUsers, users), zlib-compressed unless uncompressed_users_length is 4294967295.
uncompressed_users_lengthuint32Size of the decompressed users, or 4294967295 if not compressed.
groupsbytesNUL-terminated JSON object with the groups or their changes, zlib-compressed unless uncompressed_groups_length is 4294967295.
uncompressed_groups_lengthuint32Size of the decompressed groups, or 4294967295 if not compressed.