add user name wia web.config??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • AAaron123

    add user name wia web.config??

    I think I can do this but can't seem to get it to work.

    Can I add a few lines to my web.config to allow username ABC to login with
    password QWERTYU$$ and role Administrator?

    I'm using authentication mode="Forms"

    Thanks


  • Ilyas

    #2
    Re: add user name wia web.config??

    On 4 Nov, 19:40, "AAaron123" <aaaron...@road runner.comwrote :
    I think I can do this but can't seem to get it to work.
    >
    Can I add a few lines to my web.config to allow username ABC to login with
    password QWERTYU$$ and  role Administrator?
    >
    I'm using authentication mode="Forms"
    >
    Thanks
    Try the following

    <authenticati on mode="Forms">
    <credentials passwordFormat= "clear">
    <user name="ABC"
    password="QWERT Y$$$$"/>
    </credentials>
    </authentication>

    Comment

    • AAaron123

      #3
      Re: add user name wia web.config??


      "Ilyas" <ilyas@igsoftwa resolutions.co. ukwrote in message
      news:e7d91104-b5e0-40ce-b973-977125bef515@c2 g2000pra.google groups.com...
      On 4 Nov, 19:40, "AAaron123" <aaaron...@road runner.comwrote :
      I think I can do this but can't seem to get it to work.
      >
      Can I add a few lines to my web.config to allow username ABC to login with
      password QWERTYU$$ and role Administrator?
      >
      I'm using authentication mode="Forms"
      >
      Thanks
      Above, I should have written:
      I think I should be able to do this...


      Try the following

      <authenticati on mode="Forms">
      <credentials passwordFormat= "clear">
      <user name="ABC"
      password="QWERT Y$$$$"/>
      </credentials>
      </authentication>



      authentication mode required the forms tag so I left the one I had:
      <forms loginUrl="Login \Login Etc.aspx" protection="Val idation" timeout="300"
      >
      <credentials passwordFormat= "Clear" >

      <user name="ABC" password="QWERT Y$$$$"/>


      </credentials>

      But this did not let me log in.



      Also, what do I do about setting the role for ABC?




      Comment

      Working...