ASP .Net User Roles - ordering for a drop down.
Posted
by ilivewithian
on Stack Overflow
See other posts from Stack Overflow
or by ilivewithian
Published on 2009-07-01T08:29:48Z
Indexed on
2010/05/09
13:08 UTC
Read the original article
Hit count: 238
We are using the standard aspnet security features, we have need to set the order of the roles, purely for display purposes.
We could just have a sequence number onto the end of the aspnet_roles table, but that feels kinds of hacky to me. Also if in future versions of asp the security get changed we will be in trouble.
Is there a better way to do this that won't make me loose sleep each time a new version is pushed out?
© Stack Overflow or respective owner