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#
  4. Windows Login Box

Windows Login Box

Scheduled Pinned Locked Moved C#
csharptutorialquestion
5 Posts 3 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.
  • M Offline
    M Offline
    mamoony
    wrote on last edited by
    #1

    Hi I want to use windows login box in my c# application which is secure and pass values using tokens. I do not want to create a custom login box. How to popup the login screen? Thanks in advance, Sai

    M A 2 Replies Last reply
    0
    • M mamoony

      Hi I want to use windows login box in my c# application which is secure and pass values using tokens. I do not want to create a custom login box. How to popup the login screen? Thanks in advance, Sai

      M Offline
      M Offline
      Michael_Lu
      wrote on last edited by
      #2

      Hi, I am assuming the C# application you mentioned is a Windows Form application. In that case, I think the LogonUser API is what you are looking for. You can see this article for more info (http://stackoverflow.com/questions/2905407/how-to-use-windows-authentication-in-windows-application)[^]

      M 1 Reply Last reply
      0
      • M mamoony

        Hi I want to use windows login box in my c# application which is secure and pass values using tokens. I do not want to create a custom login box. How to popup the login screen? Thanks in advance, Sai

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #3

        You can use a simple Windows Forms Login Control component[^] that has already been built. All you need to do is include this in your program.

        Windows Phone Apps - XKCD | Calvin | SMBC | Dilbert | Speed Dial

        M 1 Reply Last reply
        0
        • M Michael_Lu

          Hi, I am assuming the C# application you mentioned is a Windows Form application. In that case, I think the LogonUser API is what you are looking for. You can see this article for more info (http://stackoverflow.com/questions/2905407/how-to-use-windows-authentication-in-windows-application)[^]

          M Offline
          M Offline
          mamoony
          wrote on last edited by
          #4

          Thank you very much :)...

          1 Reply Last reply
          0
          • A Abhinav S

            You can use a simple Windows Forms Login Control component[^] that has already been built. All you need to do is include this in your program.

            Windows Phone Apps - XKCD | Calvin | SMBC | Dilbert | Speed Dial

            M Offline
            M Offline
            mamoony
            wrote on last edited by
            #5

            Is this a custom built? I do not want to use custom built. I did one myself using Active directory directory service reference and the company do not want it. Thank you, Sai

            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