Author: imperialx | Posted on: 12/28/2009 8:01:25 AM | Views : 609

Hello,
Why I can't view all the roles?


Dim roleNames() As String = Roles.GetAllRoles If Roles.RoleExists("User") Then Roles.CreateRole("User") End If If Roles.RoleExists("Manager") Then Roles.CreateRole("Manager") End If For Each item In roleNames sb.Append(item.ToString & "<br>") 'i want to loop it first then assign it to a textbox
 Next TextBox1.Text = sb.ToString 'textbox is always nothing      <roleManager enabled="true">
            <providers>
                <clear/>
       &nb ...

Go to the complete details ...