Questions asked by Khoi Phanhttps://answers.axonivy.com/questions/asked-by/880/khoi-phan/?type=rssQuestions asked by <a href="/users/880/khoi-phan" >Khoi Phan</a>enWed, 01 Nov 2017 03:37:53 -0400How to get the isDynamic value from Ivy Role ?https://answers.axonivy.com/questions/2947/how-to-get-the-isdynamic-value-from-ivy-role<p>Hi everyone, As i know that every role that are created by using Ivy Designer, its “isDynamic” property will be set to “False” as default. And we you the ivy script like this for example : <strong>ivy.wf.getSecurityContext().getTopLevelRole().createChildRole(“MyRole”, “DisplayNameOfMyRole”, “Description of MyRole”, true);</strong> We can set the “isDynamic” = true if we want .</p> <p>Is there any API in Ivy that support us to get the “isDynamic” value ? just like in <a href="https://developer.axonivy.com/doc/latest/PublicAPI/index.html?ch/ivyteam/ivy/security/IRole.html">IRole API</a>, you can use getDisplayName() to get the “DisplayNameTemplate” or getName() to get the “Name” of role</p> <p>Thanks. <img alt="alt text" src="https://answers.axonivy.com/upfiles/role.png"></p>Khoi PhanWed, 01 Nov 2017 03:37:53 -0400https://answers.axonivy.com/questions/2947/how-to-get-the-isdynamic-value-from-ivy-roleivy