Forum Discussion
_anomDiebolt_
8 years agoQrew Elite
When you provision the user you can specify the roleid.
So if you app lands the requested user info in a table with these fields:
[email]
[fname]
[lname]
after human review of the request and after button click you can call API_ProvisionUser with these parameters an and the roleid parameter.
This will return a userid. With the userid in hand the script can then send an invitation using API_SendInvitation and including userid, usertext (the invite message) parameters..
There are probably other issues to deal but that is the guts of it.
So if you app lands the requested user info in a table with these fields:
[email]
[fname]
[lname]
after human review of the request and after button click you can call API_ProvisionUser with these parameters an and the roleid parameter.
This will return a userid. With the userid in hand the script can then send an invitation using API_SendInvitation and including userid, usertext (the invite message) parameters..
There are probably other issues to deal but that is the guts of it.