Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Using Windows users logon usernames and passwords in applications

Using Windows users logon usernames and passwords in applications

Scheduled Pinned Locked Moved C / C++ / MFC
csharpdotnethelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nadzzz
    wrote on last edited by
    #1

    In a application, If the user is not an administrator, the user will have to enter a administrator username and password to have acccess to some additionnal informations. (not using the runas and not using the .net framework) How could I do this Thanks in advance for your help.

    D 1 Reply Last reply
    0
    • N nadzzz

      In a application, If the user is not an administrator, the user will have to enter a administrator username and password to have acccess to some additionnal informations. (not using the runas and not using the .net framework) How could I do this Thanks in advance for your help.

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Create a modal dialog with two edit controls: one for the username and the other for the password.


      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      N 1 Reply Last reply
      0
      • D David Crow

        Create a modal dialog with two edit controls: one for the username and the other for the password.


        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        N Offline
        N Offline
        nadzzz
        wrote on last edited by
        #3

        This question is not for creating edit controls. This question is to know about Windows credientials. Windows users. May be the answer reside in Microsoft security tokens. thanks for replying either.

        D 1 Reply Last reply
        0
        • N nadzzz

          This question is not for creating edit controls. This question is to know about Windows credientials. Windows users. May be the answer reside in Microsoft security tokens. thanks for replying either.

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          nadzzz wrote: This question is not for creating edit controls. It could have been interpreted any any number of ways. You stated that "...the user will have to enter a administrator username and password to have acccess to some additionnal informations." followed by the question "How could I do this?" My answer was simply how to allow the user to enter such information. nadzzz wrote: This question is to know about Windows credientials. What exactly is your question?


          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups