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. Select User dialog

Select User dialog

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialjsonquestion
9 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.
  • A Offline
    A Offline
    Ami Bar
    wrote on last edited by
    #1

    I am looking for the Windows API that opens the Select User dialog. Can anyone give a reference or an example on how to do this ? Thanks, Ami

    D 1 Reply Last reply
    0
    • A Ami Bar

      I am looking for the Windows API that opens the Select User dialog. Can anyone give a reference or an example on how to do this ? Thanks, Ami

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

      Ami Bar wrote:

      ...the Select User dialog.

      Where's this?


      "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

      "Judge not by the eye but by the heart." - Native American Proverb

      A 1 Reply Last reply
      0
      • D David Crow

        Ami Bar wrote:

        ...the Select User dialog.

        Where's this?


        "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

        "Judge not by the eye but by the heart." - Native American Proverb

        A Offline
        A Offline
        Ami Bar
        wrote on last edited by
        #3

        When you change a security permission for file, registry key, etc. You can choose a user/group to add to the DACL by a Select user dialog. I am looking for a Windows API that open this dialog. Ami

        D 1 Reply Last reply
        0
        • A Ami Bar

          When you change a security permission for file, registry key, etc. You can choose a user/group to add to the DACL by a Select user dialog. I am looking for a Windows API that open this dialog. Ami

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

          Ami Bar wrote:

          I am looking for a Windows API that open this dialog.

          I don't know of an API to do this, but you could always populate your own list.


          "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

          "Judge not by the eye but by the heart." - Native American Proverb

          A 1 Reply Last reply
          0
          • D David Crow

            Ami Bar wrote:

            I am looking for a Windows API that open this dialog.

            I don't know of an API to do this, but you could always populate your own list.


            "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

            "Judge not by the eye but by the heart." - Native American Proverb

            A Offline
            A Offline
            Ami Bar
            wrote on last edited by
            #5

            It has to be a Windows common dialog or something. Ami

            M D 2 Replies Last reply
            0
            • A Ami Bar

              It has to be a Windows common dialog or something. Ami

              M Offline
              M Offline
              Mark Salsbery
              wrote on last edited by
              #6

              It has to be? :) Then it will be documented here: Common Dialog Box Library[^] If you don't find a common dialog you can maybe use NetQueryDisplayInformation to help populate your own. Mark

              A 1 Reply Last reply
              0
              • M Mark Salsbery

                It has to be? :) Then it will be documented here: Common Dialog Box Library[^] If you don't find a common dialog you can maybe use NetQueryDisplayInformation to help populate your own. Mark

                A Offline
                A Offline
                Ami Bar
                wrote on last edited by
                #7

                Thanks, but I already found this API and if I won't have a choice I will use it. I thought that if the API CredUIPromptForCredentials asks for a user name and password, there must be a similar API that does what I need. Ami

                1 Reply Last reply
                0
                • A Ami Bar

                  It has to be a Windows common dialog or something. Ami

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

                  Ami Bar wrote:

                  ...or something.

                  Which covers everything else, right? Are you simply wanting a list of domain users?


                  "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

                  "Judge not by the eye but by the heart." - Native American Proverb

                  A 1 Reply Last reply
                  0
                  • D David Crow

                    Ami Bar wrote:

                    ...or something.

                    Which covers everything else, right? Are you simply wanting a list of domain users?


                    "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

                    "Judge not by the eye but by the heart." - Native American Proverb

                    A Offline
                    A Offline
                    Ami Bar
                    wrote on last edited by
                    #9

                    Ok I found it, there is even an article about this: Using the Windows 2000/XP Object Selection Dialog[^] Thanks, Ami

                    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