How can I get the role description from the ASP.NET membership database, other than querying the database directly?
How can I get the role description from the ASP.NET membership database, other than
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I did look around using Reflector but didn’t see any method that returns the description. The method
CreateRole()only takes the rolename. Even the stored procedureaspnet_Roles_GetAllRolesonly returns the name. I’m afraid you’ll need to query the aspnet_Roles table directly