How to get the isDynamic value from Ivy RoleRole ?
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 :
**ivy.wf.getSecurityContext().getTopLevelRole().createChildRole(“MyRole”, “DisplayNameOfMyRole”, “Description of MyRole”, true);**
We can set the “isDynamic” = true if we want .
Is there any API in Ivy that support us to get the “isDynamic” value ? just like in [IRole API][1], you can use getDisplayName() to get the “DisplayNameTemplate” or getName() to get the “Name” of role
Thanks.
![alt text][2]
[1]: https://developer.axonivy.com/doc/latest/PublicAPI/index.html?ch/ivyteam/ivy/security/IRole.html
[2]: https://answers.axonivy.com/upfiles/role.png