Share via


MSProtector initWithUserPolicy method

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Used to initialize an MSProtector object with an MSUserPolicy.

Signature

- (id)initWithUserPolicy:(MSUserPolicy *)userPolicy;

Parameters

Name Datatype Notes
userPolicy
MSUserPolicy *
Pointer to a user policy

Returns

id of the initialized MSProtector object.

Defined in

MSProtection.h

Supported Platforms

Minimum supported OS versions
iOS 7.0 and OS X 10.8

Remarks

templateListWithUserId should be invoked from the main thread.