Hi All

How can I retrieve attributes from a user that is not the logged in user? I would need to get the user's email and phone number durning a subprocess that is running as system.

Any ideas are greatly appreciated.

Many thanks in advance regards, p

asked 04.09 at 09:50

peterw81's gravatar image

peterw81
164
accept rate: 0%

Many thanks. That's exactly what I needed.

(05.09 at 05:57) peterw81 peterw81's gravatar image

Hello peter, you can get all users by calling: ivy.wf.getSecurityContext.getUsers()

link

answered 04.09 at 10:52

Oliver%20Heer's gravatar image

Oliver Heer
12125
accept rate: 66%

thanks, that did the job. I happened to notice that this method is implemented also on the ivy.session object...

what's the difference between ivy.session.getSecurityContext() and ivy.wf.getSecurityContext()?

(06.09 at 10:01) peterw81 peterw81's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×36

Asked: 04.09 at 09:50

Seen: 59 times

Last updated: 06.09 at 10:01