Questions Tagged With rolehttps://answers.axonivy.com/tags/role/?type=rss&user=nghianguyenquestions tagged <span class="tag">role</span>enWed, 22 Jan 2014 08:34:48 -0500is it possible to find IRoles by using "contains" or "like" as SQL statement?https://answers.axonivy.com/questions/485/is-it-possible-to-find-iroles-by-using-contains-or-like-as-sql-statement<p>In currently, we can find exactly an IRole by using "ivy.wf.getSecurityContext().findRole()"</p> <p>But, how can we get a list of IRoles that having same prefix name, or using a keyword to get all IRoles into a list?</p> <p>Thank you very much.</p>nghianguyenWed, 22 Jan 2014 08:34:48 -0500https://answers.axonivy.com/questions/485/is-it-possible-to-find-iroles-by-using-contains-or-like-as-sql-statementroleHow can I create a role at runtime dynamically?https://answers.axonivy.com/questions/264/how-can-i-create-a-role-at-runtime-dynamically<p>Is there any public APIs to make an IRole at runtime by programming? </p> <p>Because in our project, we need a process to handle add/remove IRole automatically (no need to login to Ivy Server and create it by manually)</p> <p>Thank you so much.</p>nghianguyenMon, 20 Jan 2014 07:47:27 -0500https://answers.axonivy.com/questions/264/how-can-i-create-a-role-at-runtime-dynamicallyapirole