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 6113755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:53:44+00:00 2026-05-23T14:53:44+00:00

I have gone through a video tutorial regarding Asp.net Membership Provider in which he

  • 0

I have gone through a video tutorial regarding Asp.net Membership Provider in which he has done his coding in VB. The same code i used in C# but at this point i am getting an error as The best overloaded method match for 'System.Web.Security.Roles.AddUsersToRole(string[], string)' has some invalid arguments

This is what i have written with reference to that video can any one tell what’s going wrong

Roles.AddUsersToRole(User.Identity.Name, ListBox1.SelectedValue);

  • 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-23T14:53:44+00:00Added an answer on May 23, 2026 at 2:53 pm

    You shoud use :

    Roles.AddUserToRole

    instead of :

    Roles.AddUsersToRole

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

Sidebar

Related Questions

Recently I have gone through with one simple threading program, which leads me some
i have just gone through knockoutjs and watched the video provided on the site
I have gone through a long tutorial on W3Schooles to learn CSS; I learnt
I have gone through the following tutorial : http://www.javaworld.com/community/node/2915 And after reading the above
I have gone through the tutorial for component development at http://docs.joomla.org/Developing_a_Model-View-Controller_(MVC)_Component_for_Joomla!1.7_-_Part_06 . While the
Have gone through hibernate api specification on FlushMode but didn't get the exact difference.
I have gone through their developer guide but haven't been able to find a
I have gone through different questions/articles on Message Brokers and ESBs(Even on stackoverflow). Still
I have gone through following question. Convert NSString to NSDictionary It is something different
I have gone through this and this , but the question I am asking

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.