<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: retrieve user attributes</title><link>https://answers.axonivy.com/questions/3959/retrieve-user-attributes</link><description>&lt;p&gt;Hi All&lt;/p&gt;
&lt;p&gt;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. &lt;/p&gt;
&lt;p&gt;Any ideas are greatly appreciated.&lt;/p&gt;
&lt;p&gt;Many thanks in advance
regards,
p&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3959/retrieve-user-attributes" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 06 Sep 2019 10:01:14 -0400</lastBuildDate><item><title>Comment by peterw81 on Oliver Heer's answer</title><link>https://answers.axonivy.com/questions/3959/retrieve-user-attributes#3965</link><description>&lt;p&gt;thanks, that did the job. I happened to notice that this method is implemented also on the ivy.session object...&lt;/p&gt;
&lt;p&gt;what's the difference between ivy.session.getSecurityContext() and ivy.wf.getSecurityContext()?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">peterw81</dc:creator><pubDate>Fri, 06 Sep 2019 10:01:14 -0400</pubDate><guid>https://answers.axonivy.com/questions/3959/retrieve-user-attributes#3965</guid></item><item><title>Comment by peterw81 on peterw81's question</title><link>https://answers.axonivy.com/questions/3959/retrieve-user-attributes#3961</link><description>&lt;p&gt;Many thanks. That's exactly what I needed.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">peterw81</dc:creator><pubDate>Thu, 05 Sep 2019 05:57:33 -0400</pubDate><guid>https://answers.axonivy.com/questions/3959/retrieve-user-attributes#3961</guid></item><item><title>Answer by Oliver Heer</title><link>https://answers.axonivy.com/questions/3959/retrieve-user-attributes/3960</link><description>&lt;p&gt;Hello peter, you can get all users by calling: ivy.wf.getSecurityContext.getUsers()&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oliver Heer</dc:creator><pubDate>Wed, 04 Sep 2019 10:52:24 -0400</pubDate><guid>https://answers.axonivy.com/questions/3959/retrieve-user-attributes/3960</guid></item></channel></rss>