Page 1 of 1 1
Topic Options
#207910 - 2013-10-11 05:23 PM Get logged in user's Domain groups
jenefa Offline
Fresh Scripter

Registered: 2013-02-01
Posts: 15
Loc: USA
I need to get the Domain groups of the current logged in user.
is this correct?

$grpObj=GetObject('WinNT://'+@domain+ '/' + $Userid)

Need help, Please


Edited by RajeshJohn (2013-10-11 05:23 PM)

Top
#207911 - 2013-10-11 05:37 PM Re: Get logged in user's Domain groups [Re: jenefa]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4403
Loc: New Jersey
You should peruse the UDF library here on KORG as well as the one on my web site. There's a UDF called GetNestedGroups that retrieves a list of all the groups an account is a member of including nested groups.

For any UDF that I've written and posted on KORG, you should check my web site as the UDFs from our development library are postprepped and published to the web server nightly, making it the most up-to-date source of these UDFs.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.052 seconds in which 0.025 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org