Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Membership Provider Role Question
Message
General information
Forum:
ASP.NET
Category:
Windows Communication Foundation (WCF)
Miscellaneous
Thread ID:
01468883
Message ID:
01468995
Views:
32
>>>>How would you update a role? I'm looking at SqlRoleProvider, and I don't see any way to update a role. There's a CreatRole and DeleteRole, but no update.
>>>
>>>What did you want to update. IIRC adding and removing users were all that I needed and there are methods for that. Changing other properties shouldn't really be neccessary ?
>>
>>Assume that you enter a role, then realize it's misspelled. How would you change that? The RolerProvider only has Create and Delete.
>
>If nothing else, you can change it under the hood in the SQL database that has the security tables.

I just had this discussion with another developer here at work, and we agreed that the only time you would ever do this is in a security administration environment, not in the actual implementation of it, so it's ok to Delete and Create for renaming.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Reply
Map
View

Click here to load this message in the networking platform