User and group mappings
This topic describes how to manage user and group mappings and the associated limits.
Manage user and group mappings using APIs
The user and group mapping feature is in invitational preview. To use this feature, submit a ticket to request access.
You can manage user and group mappings using the following API operations.
CreateUserGroupsMapping: Creates user and group mappings.
If you are using an Apsara File Storage for HDFS file system for the first time, you can use this API operation to create groups and associate users.
DeleteUserGroupsMapping: Deletes user and group mappings.
ListUserGroupsMappings: Lists user and group mappings.
Limits
Usernames and group names must follow these conventions:
Start with a letter or an underscore (_).
Contain only lowercase letters, digits, and underscores (_).
Be 1 to 32 characters in length.
Number of users and groups
A file system can have a maximum of 1,000 users.
A file system can have a maximum of 30 groups.
Each user can belong to a maximum of 10 groups.
Users and groups cannot be deleted from a file system after they are added. You can only delete the mappings between users and groups.