kentico_radekm
-
11/20/2012 5:44:57 AM
RE:Displaying User Roles in a list
Hello.
The GetUserRoles method calls CMS.User.SelectRoles query, which already joins CMS_Role and CMS_UserRole tables, so you can use fifth parameter („Columns to get“) to directly specify what columns you want to retrieve in the DataSet. It can be any column(s) from both tables, including RoleName.
I am not sure how did you get list of RoleID’s without possibility to get RoleNames as well?
Best Regards, Radek Macalik
|