Class RealmPermission
A singleton object which describes Realm-wide permissions.
Implements
Inherited Members
Namespace: Realms.Sync
Assembly: Realm.Sync.dll
Syntax
public class RealmPermission : RealmObject, ISchemaSource, IThreadConfined, NotificationsHelper.INotifiable
Remarks
An object of this type is automatically created in the Realm for you, and more objects cannot be created manually. Call Get(Realm) to obtain the instance for a specific Realm.
Properties
| Improve this Doc View SourcePermissions
Gets the permissions for the Realm.
Declaration
public IList<Permission> Permissions { get; }
Property Value
Type | Description |
---|---|
IList<Permission> |
Methods
| Improve this Doc View SourceGet(Realm)
Retrieve the singleton object for the given Realm. This will return
null
for non-partial Realms.
Declaration
public static RealmPermission Get(Realm realm)
Parameters
Type | Name | Description |
---|---|---|
Realm | realm | The Realm instance. |
Returns
Type | Description |
---|---|
RealmPermission | A |