MXUserItem Class Reference

Inherits from NSObject
Declared in MXUserItem.h

Overview

The MXUserItem class provides interfaces for basic information about users as well as some lightweight operations.

  orgId

Org id of this user.

@property (nonatomic, strong, readonly, nullable) NSString *orgId

Declared In

MXUserItem.h

  uniqueId

Unique id of this user.

@property (nonatomic, strong, readonly) NSString *uniqueId

Declared In

MXUserItem.h

  firstname

Firstname of this user.

@property (nonatomic, strong, readonly, nullable) NSString *firstname

Declared In

MXUserItem.h

  lastname

Lastname of this user.

@property (nonatomic, strong, readonly, nullable) NSString *lastname

Declared In

MXUserItem.h

  email

Email of this user.

@property (nonatomic, strong, readonly, nullable) NSString *email

Declared In

MXUserItem.h

  title

Title of this user.

@property (nonatomic, strong, readonly, nullable) NSString *title

Declared In

MXUserItem.h

  isMyself

If this user item is the current user

@property (nonatomic, assign, readonly) BOOL isMyself

Declared In

MXUserItem.h

– fetchAvatarWithCompletionHandler:

Fetch the user’s avatar

- (void)fetchAvatarWithCompletionHandler:(void ( ^ _Nullable ) ( NSError *_Nullable errorOrNil , NSString *_Nullable localPath ))completionHandler

Parameters

completionHandler

A block object to be executed when the action completes

Declared In

MXUserItem.h