Update Roles

S

shapper

Hello,

I have 4 roles: admin, coll, writer, reader.

Consider that User_A is in roles admin and writer.

Now I created the following list:

Dim User_A_Roles As Generic.List(Of String)
User_A_Roles.Add("coll")
User_A_Roles.Add("writer")

I know need to update the roles to which User_A is associated.
So I need the remove User_A from role admin and add it to role coll.
The User_A is still in role writer so no need to change it.

How can I do this?

Thanks,
Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Multple roles on a SiteMapNode 4
DropDownList 3
multiple roles in asp.net website 1
Roles 4
Custom roles based ASP.NET menu 4
membership and roles 1
Roles and sitemap 0
Question about Roles 3

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,079
Latest member
ElidaWarin

Latest Threads

Top