Show / Hide Table of Contents

    Enum RealmPrivileges

    A description of the actual privileges which apply to a Realm.

    Namespace: Realms.Sync
    Assembly: Realm.dll
    Syntax
    [Flags]
    public enum RealmPrivileges : 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) on the Realm.

    Fields

    Name Description
    ModifySchema

    If this flag is not present, the user is not permitted to add new object types to the Realm or add new properties to existing object types.

    Read

    If this flag is not present, the current User is not permitted to see the Realm at all. This can happen only if the Realm was created locally and has not yet been synchronized.

    SetPermissions

    If this flag is not present, no modifications to the permissions property of the RealmPermission object for are permitted. Write transactions can be performed locally, but any changes made will be reverted by the server.

    Update

    If this flag is not present, no modifications to the Realm are permitted. Write transactions can be performed locally, but any changes made will be reverted by the server. SetPermissions and ModifySchema will always be denied when this is denied.

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