<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Difference between UserReadAll or UserReadName Permission / Permission Overview</title><link>https://answers.axonivy.com/questions/1011/difference-between-userreadall-or-userreadname-permission-permission-overview</link><description>&lt;p&gt;To read a users name (User.getName()) whitin a script element, I assigned the corresponding permission "UserReadAll" to the role the calling user owned. Nevertheless, ivy reports the Error
"The session does not fulfill the permission rule SESSION (MATCHES THIS AND OWNS UserReadOwnName PERMISSION) OR OWNS UserReadName PERMISSION OR OWNS UserReadName@SYSTEM PERMISSION"
After that, I added also the permission "UserReadName/UserReadFullName" and then it worked.&lt;/p&gt;
&lt;p&gt;What's the difference between "UserReadAll" and "UserReadName"? 
In my opinion, the "UserReadAll" permission should cover and allow all "Read" operations on a user object.&lt;/p&gt;
&lt;p&gt;Is there any documentation which explains the permission concept of ivy? 
I couldn't find any detailed information about in the documentation section available on the xpert.ivy download area.&lt;/p&gt;
&lt;p&gt;Thanks and regards,
Stefan&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1011/difference-between-userreadall-or-userreadname-permission-permission-overview" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 21 Oct 2014 10:03:08 -0400</lastBuildDate><item><title>Comment by Reto Weiss on Reto Weiss's answer</title><link>https://answers.axonivy.com/questions/1011/difference-between-userreadall-or-userreadname-permission-permission-overview#1016</link><description>&lt;p&gt;Hi Stephan&lt;/p&gt;
&lt;p&gt;See question &lt;a href="http://answers.axonivy.com/questions/1014"&gt;http://answers.axonivy.com/questions/1014&lt;/a&gt; to find out where the permissions needed to call a method is documented&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reto Weiss</dc:creator><pubDate>Tue, 21 Oct 2014 10:03:08 -0400</pubDate><guid>https://answers.axonivy.com/questions/1011/difference-between-userreadall-or-userreadname-permission-permission-overview#1016</guid></item><item><title>Comment by Stefan on Reto Weiss's answer</title><link>https://answers.axonivy.com/questions/1011/difference-between-userreadall-or-userreadname-permission-permission-overview#1013</link><description>&lt;p&gt;Thanks, Reto. Is there any detailed documentation available?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan</dc:creator><pubDate>Tue, 21 Oct 2014 07:28:50 -0400</pubDate><guid>https://answers.axonivy.com/questions/1011/difference-between-userreadall-or-userreadname-permission-permission-overview#1013</guid></item><item><title>Answer by Reto Weiss</title><link>https://answers.axonivy.com/questions/1011/difference-between-userreadall-or-userreadname-permission-permission-overview/1012</link><description>&lt;p&gt;The permission UserReadAll is necessary to call methods like ISecurityContext#getUsers() or ISecurityContext#findUser(...). So it gives you the right to access all user objects. &lt;/p&gt;
&lt;p&gt;The permission UserReadName gives you the right to call the method IUser#getName() on any user object. &lt;/p&gt;
&lt;p&gt;The permission UserReadOwnName gives you the right to call method IUser#getName() on the user object that represents yourself. E.g. the user object that is associated with the current session.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reto Weiss</dc:creator><pubDate>Mon, 20 Oct 2014 16:57:46 -0400</pubDate><guid>https://answers.axonivy.com/questions/1011/difference-between-userreadall-or-userreadname-permission-permission-overview/1012</guid></item></channel></rss>