Show / Hide Table of Contents

    Class RealmPermission

    A singleton object which describes Realm-wide permissions.

    Inheritance
    Object
    RealmObject
    RealmPermission
    Implements
    INotifyPropertyChanged
    ISchemaSource
    IReflectableType
    Inherited Members
    RealmObject.PropertyChanged
    RealmObject.IsManaged
    RealmObject.IsValid
    RealmObject.IsFrozen
    RealmObject.Realm
    RealmObject.ObjectSchema
    RealmObject.BacklinksCount
    RealmObject.FreezeInPlace()
    RealmObject.RaisePropertyChanged(String)
    RealmObject.OnPropertyChanged(String)
    RealmObject.OnManaged()
    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 Source

    Permissions

    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 Source

    Get(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 RealmPermission instance that allows you to manipulate the permissions for this Realm.

    Implements

    System.ComponentModel.INotifyPropertyChanged
    ISchemaSource
    System.Reflection.IReflectableType

    Extension Methods

    FrozenObjectsExtensions.Freeze<T>(T)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Realm
    Generated by DocFX