Show / Hide Table of Contents

    Class Permission

    This model is used to reflect permissions granted to a user. It should be used in conjunction with a User's Permission Realm.

    Inheritance
    Object
    RealmObject
    Permission
    Inherited Members
    RealmObject.PropertyChanged
    RealmObject.IsManaged
    RealmObject.IsValid
    RealmObject.Realm
    RealmObject.ObjectSchema
    RealmObject.Equals(Object)
    RealmObject.RaisePropertyChanged(String)
    RealmObject.OnPropertyChanged(String)
    RealmObject.OnManaged()
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace:Realms.Sync
    Assembly:Realm.Sync.dll
    Syntax
    public class Permission : RealmObject, INotifyPropertyChanged, ISchemaSource, IThreadConfined, NotificationsHelper.INotifiable

    Properties

    | Improve this Doc View Source

    MayManage

    Gets a value indicating whether the user inspecting that permission is allowed to manage the permissions for the Realm at the specified Path.

    Declaration
    [MapTo("mayManage")]
    public bool MayManage { get; }
    Property Value
    Type Description
    Boolean

    true if managing is allowed, false otherwise.

    | Improve this Doc View Source

    MayRead

    Gets a value indicating whether the user inspecting that permission is allowed to read the Realm at the specified Path.

    Declaration
    [MapTo("mayRead")]
    public bool MayRead { get; }
    Property Value
    Type Description
    Boolean

    true if reading is allowed, false otherwise.

    | Improve this Doc View Source

    MayWrite

    Gets a value indicating whether the user inspecting that permission is allowed to write to the Realm at the specified Path.

    Declaration
    [MapTo("mayWrite")]
    public bool MayWrite { get; }
    Property Value
    Type Description
    Boolean

    true if writing is allowed, false otherwise.

    | Improve this Doc View Source

    Path

    Gets the relative path to the Realm on the server.

    Declaration
    [Required]
    [MapTo("path")]
    public string Path { get; }
    Property Value
    Type Description
    String

    A relative path component.

    | Improve this Doc View Source

    UpdatedAt

    Gets when the object was updated the last time.

    Declaration
    [MapTo("updatedAt")]
    public DateTimeOffset UpdatedAt { get; }
    Property Value
    Type Description
    DateTimeOffset

    A DateTimeOffset indicating the last time the object has been updated.

    | Improve this Doc View Source

    UserId

    Gets the identity of the user affected by this permission.

    Declaration
    [Required]
    [MapTo("userId")]
    public string UserId { get; }
    Property Value
    Type Description
    String

    The user identity.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2017 Realm
    Generated by DocFX