Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
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)
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