Show / Hide Table of Contents

    Class UserPermissionsExtensions

    A set of extensions methods over the User class that expose functionality for managing synchronized Realm permissions.

    Inheritance
    Object
    UserPermissionsExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace:Realms.Sync
    Assembly:Realm.Sync.dll
    Syntax
    [Browsable(false)]
    public static class UserPermissionsExtensions

    Methods

    | Improve this Doc View Source

    GetManagementRealm(User)

    Returns an instance of the Management Realm owned by the user.

    Declaration
    public static Realm GetManagementRealm(this User user)
    Parameters
    Type Name Description
    User user

    The user whose Management Realm to get.

    Returns
    Type Description
    Realm

    A Realm that can be used to control access and permissions for Realms owned by the user.

    Remarks

    This Realm can be used to control access and permissions for Realms owned by the user. This includes giving other users access to Realms.

    See Also
    How to control permissions
    | Improve this Doc View Source

    GetPermissionRealm(User)

    Returns an instance of the Permission Realm owned by the user.

    Declaration
    public static Realm GetPermissionRealm(this User user)
    Parameters
    Type Name Description
    User user

    The user whose Permission Realm to get.

    Returns
    Type Description
    Realm

    A Realm that can be used to inspect access to other Realms.

    Remarks

    This Realm can be used to review access permissions for Realms managed by the user and to Realms which the user was granted access to by other users.

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