RLMPermissionRole
@interface RLMPermissionRole : RLMObject
A Role within the permissions system.
A Role consists of a name for the role and a list of users which are members of the role. Roles are granted privileges on Realms, Classes and Objects, and in turn grant those privileges to all users which are members of the role.
A role named “everyone” is automatically created in new Realms, and all new users which connect to the Realm are automatically added to it. Any other roles you wish to use are managed as normal Realm objects.
-
The name of the Role
Declaration
Objective-C
@property (nonatomic) NSString *_Nonnull name;
-
The users which belong to the role
Declaration
Objective-C
@property (nonatomic) RLMArray<RLMPermissionUser *><RLMPermissionUser> *_Nonnull users;