MSUserRights initWithUsers method

Initialize an MSUserRights object's properties.

Signature

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

Parameters

Name Datatype Notes
users
NSString *
Set of users to whom the rights are granted
rights
NSArray *
For more information on managing user rights, see Built-in Rights Usage Restriction Reference as well as MSCommonRights, MSEditableDocumentRights and MSEmailRights.

Returns

An identifier of type id referencing the initialized MSUserRights object.

Defined in

MSUserRights.h

Supported Platforms

Minimum supported OS versions
iOS 7.0 and OS X 10.8