Windows Forum
Discussion Locked
0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I'm running VB Scripts/WSCript for the logon scripts. I need to be able to see if a user exists in a specific group and then make a decision based on that being true or false. Does anyone know how to get user's groups or how to check if a user belongs to a specific group?
6 replies
by blackdiamond
by mheath
This link did not work. Cannot find server.
I know Kix has a 'MemberOf()' function, I would think there is an analogous one in those languages.
Ralph
by mheath
I believe KIX uses NETAPI.DLL to use the MemberOf() Function. I will look into calling DLL functions from within VB Script. I am still looking to do this using nothing but VB Script/Windows Script.
Thanks for the response.
by blackdiamond
Hey,
It works fine for me. Here is where is where it leads.
http://www.microsoft.com/windows2000/techinfo/reskit/tools/new/ifmember-o.asp
(Remove Any Spaces That Magically Appear)
by mheath
I see this utility is command line only. I'm not sure how to get it's return using VB Script/Windows Script. The utility is helpful if I continue to use Batch files. However, we are wanting to start using VB/Windows Scripts because they run silent and hidden.
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending
Discussion
Do you think that business directories are relevant to Local SEO And Lead Generation today
0 helpful
19 replies
3 helpful
32 replies
1 helpful
6 replies
Discussion
Best Windows Features
0 helpful
9 replies
0 helpful
8 replies