Show / Hide Table of Contents

    Class PathPermission

    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
    PathPermission
    Namespace: Realms.Sync
    Assembly: Realm.dll
    Syntax
    public class PathPermission

    Properties

    | Improve this Doc View Source

    AccessLevel

    Gets a value indicating the access level of the user with the specified UserId for the Realm at the specified Path.

    Declaration
    public AccessLevel AccessLevel { get; }
    Property Value
    Type Description
    AccessLevel

    The AccessLevel.

    | 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
    [Obsolete("Use AccessLevel >= AccessLevel.Admin instead")]
    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
    [Obsolete("Use AccessLevel >= AccessLevel.Read instead")]
    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
    [Obsolete("Use AccessLevel >= AccessLevel.Write instead")]
    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
    public string Path { get; }
    Property Value
    Type Description
    String

    A relative path component.

    | Improve this Doc View Source

    RealmOwnerId

    Gets the Id of the user who owns the Realm at Path.

    Declaration
    public string RealmOwnerId { get; }
    Property Value
    Type Description
    String

    A User Id.

    | 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
    public string UserId { get; }
    Property Value
    Type Description
    String

    The user identity.

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