Dim usersInRole As String() = Roles.GetUsersInRole("HR_Base_Role")
Dim Myusers As New MembershipUserCollection
For Each UserName As String In usersInRole
Myusers.Add(Membership.GetUser(UserName))
Next
ComboBox2.DataSource = Myusers
The code above throws a "Specified method is not supported." exception on the first line. Any one knows what am doing wrong here?