共用方式為


MSUserRoles class

Represents a user's roles.

Signature

@interface MSUserRoles : MSSecureCodableObject

Methods

Name Description
initWithUsers
Initialize an MSUserRoles object's properties; a set of users and a set of roles.

Properties

Name Description
roles
The assigned roles.
users
The users to whom the roles are assigned

Defined in

MSUserRoles.h

Supported Platforms

Minimum supported OS versions
iOS 7.0 and OS X 10.8

Thread Safety

Members of this class are not guaranteed to be thread safe.