共用方式為


MSPolicyDescriptor initWithUserRoles:userRoles method

Initialize an MSPolicyDescriptor with user roles.

Signature

- (id)initWithUserRoles:(NSArray /*MSUserRoles*/ *)userRoles;

Parameters

Name Datatype Notes
userRoles
NSArray *
An array of MSUserRoles

Returns

Id of the initialized MSPolicyDescriptor.

Defined in

MSPolicyDescriptor.h

Supported Platforms

Minimum supported OS versions
iOS 7.0 and OS X 10.8