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

Top