共用方式為


MSUserRoles roles property

Gets the set of roles.

Signature

@property (strong, readonly) NSArray/*NSString*/ *roles;

Property Values

Name Datatype Notes
roles
NSArray *
Pointer to array of strings containing roles. See MSRole for values to use.

Defined in

MSUserRoles.h

Supported Platforms

Minimum supported OS versions
iOS 7.0 and OS X 10.8