I
Ivan Gibbs
In C#, I want to log in a user who has a specific role.
The role was originally "Cashier". However, now
the "Cashier" can be prefixed with anything, such
as "LS_Cashier". Since the role name is not known any
more, how can the user be logged in?
I have been working on getting all the role names and
checking if any contain "Cashier", but I have not found a
way to get a list of the current roles. There was some
discussion of TokenGroups, but this has not lead to a
solution for C#.
Any help would be appreciated.
The role was originally "Cashier". However, now
the "Cashier" can be prefixed with anything, such
as "LS_Cashier". Since the role name is not known any
more, how can the user be logged in?
I have been working on getting all the role names and
checking if any contain "Cashier", but I have not found a
way to get a list of the current roles. There was some
discussion of TokenGroups, but this has not lead to a
solution for C#.
Any help would be appreciated.