UserGroupBasic
Struct for the basic info of a user group in a vault.
| Full name | MFiles.UserGroupBasic |
|---|---|
| Proto file | mfiles/structs.proto |
Fields
| Field | Type | Number | Description |
|---|---|---|---|
id | int32 | 1 | The ID of the user group. |
name | string | 2 | The name of the group. |
members | repeated int32 | 3 | The IDs of the members of this group (user accounts and/or user groups). |
type | UserGroupType | 4 | User group type.Values: USER_GROUP_TYPE_NORMAL (0), USER_GROUP_TYPE_REPOSITORY_USER (1), USER_GROUP_TYPE_REPOSITORY_GROUP (2), USER_GROUP_TYPE_ANY (-1). |
Used by methods
- IRPCVault.GetGroupsOfUserOrGroup -- Gets the user groups that a user or a user group belongs to.
- IRPCVault.GetUserContainers -- Gets all user groups of the vault, of all group types, with their members.
- IRPCVault.GetUserGroup -- Gets one user group with its members.
- IRPCVault.GetUserGroups -- Gets the vault's normal user groups with their members.
- IRPCVault.GetUsersAndUserContainers -- Gets all users and all user groups of the vault.
Used in fields
BasicUserGroupInfo.basicdata-- The basic data of the user group.UserGroup.user_group-- The basic data of the group.GetUserGroupsResponse.groups-- User groups (represented by UserGroupBasic structs).GetUserGroupResponse.putf8szugb-- The user group, with its name, type and members.GetGroupsOfUserOrGroupResponse.groups-- User groups (represented by UserGroupBasic structs).GetUserContainersResponse.groups-- User groups (represented by UserGroupBasic structs).GetUsersAndUserContainersResponse.groups-- The user groups with their members.