Show / Hide Table of Contents

    Enum ObjectPrivileges

    A description of the actual privileges which apply to a specific Object.

    Namespace: Realms.Sync
    Assembly: Realm.dll
    Syntax
    [Flags]
    public enum ObjectPrivileges : byte
    Remarks

    This is a combination of all of the privileges granted to all of the Roles which the current User is a member of, obtained by calling GetPrivileges(Realm, RealmObject).

    Fields

    Name Description
    Delete

    If this flag is not present, deleting this object is not permitted. Write transactions which delete the object can be performed locally, but the server will restore it.

    Read

    If this flag is not present, the current User is not permitted to read this object directly.

    SetPermissions

    If this flag is not present, modifying the privileges of this specific object is not permitted.

    Update

    If this flag is not present, modifying the fields of this type is not permitted. Write transactions modifying the objects can be performed locally, but any changes made will be reverted by the server.

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