RapidIdentity Product Guide

Alternate Create Action

This alternate action is used to bypass built-in RapidIdentity Portal logic and instead allow an arbitrary RapidIdentity Connect Action Set to provide Create Sponsored Account functionality. RapidIdentity Portal performs the necessary authentication/authorization/validation on the request then invokes the pre-defined Action Set on the configured RapidIdentity Connect instance.

Action Set Parameters
Table 329. Parameters

Parameter

Description

perp_dn

The DN of the perpetrator of the operation (who's performing the operation)

audit_event_id

An audit event ID which may be used to correlate any audit log events from invoked Action Set to the audit log event generated by the call to the RapidIdentity Portal API

record_string

A JSON object containing the LDAP attributes and values for the new Sponsored Account



Example

The following example shows a record_string value indicating that the target's LDAP entry should have an employeeType value of Sponsored, a givenName value of FirstName, a sn value of LastName and a multiValuedAttribute attribute with two values: value1 and value2.

{"employeeType": "Sponsored", givenName": "FirstName", "sn": "Last Name", "multiValuedAttribute": ["value1", "value2"]}

Action Set Return Value

{ "success":"<boolean>", "message":"<string>", "new_dn":"<string>", "password":"<string>" }

Table 330. Return Fields

Field

Description

Required

success

Whether RapidIdentity Portal should consider the action as successful

no, defaults to false

message

Optional message which will be passed through to the API response and ultimately to the UI.

no

new_dn

The DN of the new Sponsored Account object

yes, if the operation was successful

password

The password for the new Sponsored Account. This value is included in the Email message sent to the Sponsor.

yes, if the operation was successful



Action Set Return Value

{"success": false, "message": "The operation failed because...."}

{"success": true, "message": "The account was created successully", "new_dn": "cn=New Account,ou=Sponsored Accounts,dc=example,dc=com", "password": "abc123"}