Show / Hide Table of Contents

    Interface IPermissionObject

    Interface that describes the shared base model of all Permission classes.

    Namespace:Realms.Sync
    Assembly:Realm.Sync.dll
    Syntax
    public interface IPermissionObject

    Properties

    | Improve this Doc View Source

    CreatedAt

    Gets the creation time of this object.

    Declaration
    DateTimeOffset CreatedAt { get; }
    Property Value
    Type Description
    DateTimeOffset

    A DateTimeOffset indicating the object's creation date and time.

    | Improve this Doc View Source

    ErrorCode

    Gets the ErrorCode if any.

    Declaration
    ErrorCode? ErrorCode { get; }
    Property Value
    Type Description
    Nullable<ErrorCode>

    An ErrorCode that indicates the reason for the error during processing. null if no error has occurred or the object hasn't been processed yet.

    Remarks

    Filled by the server after an object was processed indicating the status of the operation. If Status returns Error, the ErrorCode property can be used to get a strongly typed code for the error and handle expected error conditions, such as expired offer or attempting to share a realm without having manage access.

    | Improve this Doc View Source

    Id

    Gets the unique identifier of this object in the Management realm.

    Declaration
    string Id { get; }
    Property Value
    Type Description
    String

    The unique id of the object.

    | Improve this Doc View Source

    Status

    Gets the ManagementObjectStatus as set by the server.

    Declaration
    ManagementObjectStatus Status { get; }
    Property Value
    Type Description
    ManagementObjectStatus

    An enum indicating whether the operation has completed successfully.

    | Improve this Doc View Source

    StatusMessage

    Gets the status message.

    Declaration
    string StatusMessage { get; }
    Property Value
    Type Description
    String

    A detailed message describing the status (success, error) of the operation. null if the object has not been processed yet.

    Remarks

    Filled by the server after an object was processed with additional info explaining the status if necessary.

    | Improve this Doc View Source

    UpdatedAt

    Gets when the object was updated the last time.

    Declaration
    DateTimeOffset UpdatedAt { get; }
    Property Value
    Type Description
    DateTimeOffset

    A DateTimeOffset indicating the last time the object has been updated.

    Remarks

    This will be updated by the server with the current object when the object is processed.

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