Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 788919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:26:34+00:00 2026-05-14T21:26:34+00:00

Dim usersInRole As String() = Roles.GetUsersInRole(HR_Base_Role) Dim Myusers As New MembershipUserCollection For Each UserName

  • 0
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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T21:26:35+00:00Added an answer on May 14, 2026 at 9:26 pm

    Membership, Roles and Profiles are all ASP.Net technologies and require a properly configured web site.

    In .NET 3.5 these facilities were extended to support use from desktop applications via Application Services, but note that a properly configured ASP.Net website is still the source of the data/services.

    To properly utilize these facilities, please ensure familiarity with the linked information.

    Reference: http://msdn.microsoft.com/en-us/library/bb547119(VS.90).aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code: Dim pathString As String = HttpContext.Current.Request.MapPath(Banking.mdb) Dim odbconBanking As New
The following Code does not compile Dim BasicGroups As String() = New String() {Node1,
Dim x = GetType(List(Of )) 'valid statement Dim list As New List(Of String) Now
Here is the sample: Dim TestString As String = Hello, & Chr(0) & World
I can do this: Dim fso As New FileSystemObject or I can do this:
I have this: Dim myTemp As String myTemp = System.DateTime.Now().ToString(MMMddyyyy_HHmmss) & .pdf System.IO.File.Copy(myFile, c:\
Dim pctofpax As New DataColumn pctofpax = New DataColumn(PCTPAX1, GetType(Decimal)) pctofpax.Expression = [ASOFPAX] /
Here is my code Dim provider = New Microsoft.VisualBasic.VBCodeProvider() Dim parser = provider.CreateParser() parser
I have a string: Dim strXMLTags As String = <tags><test>1</test></tags> And I want to
I have two queries Dim query1 as String = Select * from openquery (devbook,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.