Re: Looking to verify users via Active Directory

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thank you. This was very helpful. Never used this before so I don't know how
to mark your answre as helpful. I'll mark it as answreing my question when
I'm done with the whole thing =)

Not using MS Access Security.

2 Questions left remaining

1. How do I verify a user is in a particular Group. I'll have an Admin
console form that will allow Admins to change the group if ever necessary.

2. How do I search the Active directory? Specifically, if I give the name
John J. Doe or any part of it, how do I have All possible names returned to
me?

Now that I know where to look, I may be able to find this myself. If I do,
I'll come back and leave a closing post. Thanks again for your help.

========
I went to school for this stuff (by stuff I mean programming in general) 10
years ago, then joined the Navy. Haven't used it much since. This is the
first semi-serious project I've worked on and I'm running into problems my
coursework didn't even cover. =(
--
Thanks!


"Albert D. Kallal" wrote:

Are you using the same name as the user network logged on name?
(I belive in most cases, you are).

If you are, then you can use the follwing code to get the user name:

You can get the current network logon name with:

http://www.mvps.org/access/api/api0008.htm

And, the current computer name with:

http://www.mvps.org/access/api/api0009.htm

And, if using ms-access security, then currentuser() will return the
ms-access logon.

I often log all 3 of the above values in some applications.


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@xxxxxxx



.