Realm.Sync.Permission.Role

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.

Since: 2.3.0
members

The users which belong to the role.

Type:
[Realm.Sync.Permissions.User, ...]
name

The name of the Role.

Type:
string