RLMSyncUserInfo

@interface RLMSyncUserInfo : NSObject

A data object representing information about a user that was retrieved from a user lookup call.

  • An array of all the user accounts associated with this user.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<RLMSyncUserAccountInfo *> *_Nonnull accounts;

    Swift

    var accounts: [RLMSyncUserAccountInfo] { get }
  • The identity issued to this user by the Realm Object Server.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull identity;

    Swift

    var identity: String { get }
  • Metadata about this user stored on the Realm Object Server.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSDictionary<NSString *, NSString *> *_Nonnull metadata;

    Swift

    var metadata: [String : String] { get }
  • Whether the user is flagged on the Realm Object Server as an administrator.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isAdmin;

    Swift

    var isAdmin: Bool { get }