Sdílet prostřednictvím


MSUserRoles initWithUsers method

Initialize an MSUserRoles object with users and roles.

Signature

- (id)initWithUsers:(NSArray/*NSString*/*)users
              roles:(NSArray/*NSString*/*)roles;

Parameters

Name Datatype Notes
users
NSArray *
Set of users to whom the roles are assigned.
roles
NSArray *
See MSRole for types to use.

Returns

An identifier of type id of the initialized MSUserRoles object.

Defined in

MSUserRoles.h

Supported Platforms

Minimum supported OS versions
iOS 7.0 and OS X 10.8