Class UserPermissionsExtensions
A set of extensions methods over the User class that expose functionality for managing synchronized Realm permissions.
Inherited Members
Namespace:Realms.Sync
Assembly:Realm.Sync.dll
Syntax
public static class UserPermissionsExtensions
Methods
| Improve this Doc View SourceGetManagementRealm(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
| Improve this Doc View SourceGetPermissionRealm(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.