View previous topic :: View next topic |
Author |
Message |
Aslan Valued Contributor
Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sun Oct 02, 2005 1:10 pm Post subject: How to access 2000/XP Select Users Dialog? |
|
|
Anyone know how to access the "Select Users" dialog in 2000 and XP?
I'm hoping there is an API or something. |
|
Back to top |
|
|
filip Valued Contributor
Joined: 07 Aug 2004 Posts: 340
|
Posted: Sun Oct 02, 2005 2:16 pm Post subject: |
|
|
Shutdown.exe -L for XP |
|
Back to top |
|
|
Aslan Valued Contributor
Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sun Oct 02, 2005 11:07 pm Post subject: |
|
|
Filip
Are you sure your answering the right post ?
To clarify, The "Select Users" dialog is the one where you add user(s) to a group or to resources to grant, deny or specify access rights. |
|
Back to top |
|
|
SnarlingSheep Professional Member
Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Mon Oct 03, 2005 3:15 am Post subject: |
|
|
Not sure if this is what you are looking for, but might get you close:
Code: |
SHELL OPEN,RUNDLL32.EXE,"SHELL32.DLL,Control_RunDLL nusrmgr.cpl,,0"
|
_________________ -Sheep
My pockets hurt... |
|
Back to top |
|
|
Aslan Valued Contributor
Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Mon Oct 03, 2005 7:01 pm Post subject: |
|
|
Not quite but close
What I'm trying to do is have the ability to select users/groups from a domain or local PC and add them to a list for my app to use. This is for a menu system where the options that show in the menu(dialog popup) are dependent on who is accessing it. |
|
Back to top |
|
|
marty Professional Member
Joined: 10 May 2001 Posts: 789
|
|
Back to top |
|
|
Aslan Valued Contributor
Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Thu Dec 22, 2005 6:57 am Post subject: |
|
|
Well sort of ... I have to use dsquery and dsget (I'm in an Active Directory environment) to get a list of users and then display them in a custom dialog where they can be selected. Unfortunatley, this means that my app is storing the list along with the user's attributes instead of Windows, creating unneccessary overhead. I also have to the same thing for 'Groups' plus keep a separate list for each group that contain the group's users.
I'm sure that there is a better way, but I was running out of time to get the app finished and wasn't having any luck finding the answer.
As to your link, I need network users instead of local users |
|
Back to top |
|
|
|