Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Synchronously queries the server for the tenant's policy templates. This method could launch the Authentication UI if no valid authentication token is present.
Signature
public static List<TemplateDescriptor> getTemplates(
String userId,
AuthenticationRequestCallback authenticationCallback,
Context applicationContext)
throws ProtectionException
Parameters
| Name | Datatype | Notes |
|---|---|---|
| userId |
String |
This userId (email address) is used to discover the RMS service instance (either ADRMS server or Azure RMS) that the user's organization is using. userId is used for caching user policy as well for offline usage. |
| authenticationCallback |
AuthenticationRequestCallback |
|
| applicationContext |
Context |
Returns
List<TemplateDescriptor>
Throws
Defined in
TemplateDescriptor.java
Supported Platforms
| Minimum supported OS version |
Android 4.0.3 (API level 15) |