Update Roles

  • Thread starter Thread starter shapper
  • Start date Start date
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
 
Back
Top