Class RealmPermission
A singleton object which describes Realm-wide permissions.
Inherited Members
Namespace: Realms.Sync
Assembly: Realm.dll
Syntax
[MapTo("__Realm")]
public class RealmPermission : RealmObject, INotifyPropertyChanged, ISchemaSource, IThreadConfined, NotificationsHelper.INotifiable, IReflectableType
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
[MapTo("permissions")]
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 Realms in full synchronization mode.
Declaration
public static RealmPermission Get(Realm realm)
Parameters
Type | Name | Description |
---|---|---|
Realm | realm | The Realm instance. |
Returns
Type | Description |
---|---|
RealmPermission | A |