How can I determine the identity of the logged in user (the person using the form)

Which IIQ version are you inquiring about?

8.4

Share all details related to your problem, including any error messages you may have received.

How can I determine the identity of the person who is logged in (and filling out the form)? As an example, if I log in and I am filling out a form to reset my password on an oracle database, only I should be able to do so. Other actions maybe request-able by other users (for instance, my manager could request an account on my behalf).

Hi @mmdmurphy,

for know the name of the user you can use context.getUserName() instruction and for find the identity you can use in getObjectByName() or with search(), for example:

context.getObjectByName(Identity.class, context.getUserName()) and have the identity

1 Like

Hi @mmdmurphy

You should have a variable called “launcher” in the workflow generated by the form.

2 Likes

All the WorkFlow which are getting invoked from the Quicklink has below default input parameters.

currentUserName - Current User
launcher - Lanucher of this quicklink
quicklink - Name of the QuickLink
quickLinkIdentityId - Identity involved in this quicklink
quickLinkIdentityIds - Identity involved in this quicklink
sessionowner - Sessnion Owner
workflowName - WorkFlow which is getting trigger once we invoke the quicklink
trace - Logger for tracking
transient - Transient

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.