UserProvisioningLog Class
Namespace
Example
This example writes the user account information sent to a third-party system for a provisioning request to the UserProvisioningLog object.
1String inputParamsStr = 'Input parameters: uprId=' + uprId + ',
2endpointURL=' + endpointURL + ', adminUsername=' + adminUsername + ',
3email=' + email + ', username=' + username + ', defaultPassword=' + defaultPassword + ',
4defaultRoles =' + defaultRoles;
5UserProvisioning.UserProvisioningLog.log(uprId, inputParamsStr);UserProvisioningLog Methods
The following are methods for UserProvisioningLog. All methods are static.
log(userProvisioningRequestId, details)
log(userProvisioningRequestId, status, details)
log(userProvisioningRequestId, externalUserId, externalUserName, userId, details)
Writes a specific message, such as an error message, to monitor the
progress of a user provisioning request associated with a specific user.
Signature
public void log(String userProvisioningRequestId, String externalUserId, String externalUserName, String userId, String details)
Parameters
-
userProvisioningRequestId:
Type: String
A unique identifier for the user provisioning request.
-
externalUserId:
Type: String
The unique identifier for the user in the target system.
-
externalUserName:
Type: String
The username for the user in the target system.
-
userId:
Type: String
Salesforce
ID of the user making the request.
-
details:
Type: String
The text for the message.
Return Value
Type: void