"tlyczko" <tl*****@gmail.com> wrote in
news:11**********************@g14g2000cwa.googlegr oups.com:
I am developing an Access database that will be used by some users
logging into Citrix servers.
Using the "Code 1" listing, 'fGetFullNameOfLoggedUser' from Dev
Ashish's site, which I found in this thread:
http://groups.google.com/group/comp....ss/browse_thre
ad/thread/9ba1a9bc7ebc270e/36aeea7d08d31849#36aeea7d08d31849
subject: Question about 'fGetFullNameOfLoggedUser'
I implemented this as the control source of a simple text box, and
it worked successfully in my first trial.
Is there any code on this list which will have Access tell me the
user group(s) to which a user belongs??
It's a typical MS domain controller and typical Citrix farm setup.
Or even use the fGetUserName() code part to know what user group
someone is in??
There is an API for getting Active Directory information, but I was
never ever able to figure out how to get the organizational unit
information out of it. I have an application where I would have used
that, but I couldn't figure it out, so instead manually replicated
the OU membership in Jet security. I just didn't have time to figure
out the Active Directory methods and am not sure that the OU
information is even available through the APIs at all. Surely it is,
since the AD tools can display it, but I couldn't for the life of me
figure out how.
And, at this point, I've lost the URLs to the MSDN articles
describing how it is done.
--
David W. Fenton
http://www.dfenton.com/
usenet at dfenton dot com
http://www.dfenton.com/DFA/