Hi,
I've a button in InfoPath that I want to show/hide depending upon user's role. For e.g. I need to show a button to the users who are members of Process Admin K2 Role. How can I programatically get users for a given role. Any sample code is much appreciated.
I need a function like
List<string> GetUsersForRole(string K2 Role)
{
returns a list of a users for a given role.
}
Thanks