views:

226

answers:

1

How can I get the role description from the ASP.NET membership database, other than querying the database directly?

+1  A: 

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 procedure aspnet_Roles_GetAllRoles only returns the name. I'm afraid you'll need to query the aspnet_Roles table directly

edosoft
http://msdn.microsoft.com/en-us/library/aa478950.aspx says description is currently unused.
Greg