MSUserPolicy accessCheck method

Returns a value that indicates whether the current user has the specified right.

Signature

- (BOOL)accessCheck:(NSString *)right;

Parameters

Name Datatype Notes
right
NSString *
Required. The right to check.

Returns

Type: BOOL

YES if the current user has the right; otherwise, NO.

Note

When called on behalf of the content owner, returns YES for any right that is specified.

Defined in

MSUserPolicy.h

Supported Platforms

Minimum supported OS versions
iOS 7.0 and OS X 10.8