Share via


UserPolicy.registerForDocTracking synchronous 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.]

Asynchronously registers this user policy with the document tracking service.

Signature

public boolean registerForDocTracking(
                                      boolean sendRegistrationNotificationMail,
                                      String userId,
                                      AuthenticationRequestCallback authenticationContext,
                                      final Context applicationContext) 
                              throws ProtectionException

Parameters

Name Datatype Notes
sendRegistrationNotificationMail
boolean
True or False
userId
String
The email address of the user to be notified of document tracking events.
authenticationContext
AuthenticationRequestCallback
applicationContext
Context

Throws

ProtectionException

Returns

boolean

Defined in

UserPolicy.java

Supported Platforms

Minimum supported OS version
Android 4.0.3 (API level 15)