MSUser Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in MSUser.h

Overview

The MSUser class represents an end user that can login to a Microsoft Azure Mobile Service on a client device.

Initializing the MSUser Object

– initWithUserId:

Initializes an MSUser instance with the given user id.

- (nonnull instancetype)initWithUserId:(nullable NSString *)userId

Discussion

Initializes an MSUser instance with the given user id.

Declared In

MSUser.h

  userId

The user id of the end user.

@property (nonatomic, copy, readonly, nullable) NSString *userId

Discussion

The user id of the end user.

Declared In

MSUser.h

  mobileServiceAuthenticationToken

A Microsoft Azure Mobile Services authentication token for the logged in end user. If non-nil, the authentication token will be included in all requests made to the Microsoft Azure Mobile Service, allowing the client to perform all actions on the Microsoft Azure Mobile Service that require authenticated-user level permissions.

@property (nonatomic, copy, nullable) NSString *mobileServiceAuthenticationToken

Discussion

A Microsoft Azure Mobile Services authentication token for the logged in end user. If non-nil, the authentication token will be included in all requests made to the Microsoft Azure Mobile Service, allowing the client to perform all actions on the Microsoft Azure Mobile Service that require authenticated-user level permissions.

Declared In

MSUser.h