Windows NT rights

R

Remco Groot Beumer

Hello,

Is it possible to use windows NT user or (better) usergroup information?
I would like to use it to apply rights in an access application of mine.

If possible (i guess it will be, since it is all one big happe microsoft
family) i'm curious which reference to use and if there is a bit of sample
code anywhere on the net where i can look into to see how it works.

Thanx in advance,

Remco Groot Beumer
 
E

E.

Remco said:
Hello,

Is it possible to use windows NT user or (better) usergroup information?
I would like to use it to apply rights in an access application of mine.

If possible (i guess it will be, since it is all one big happe microsoft
family) i'm curious which reference to use and if there is a bit of sample
code anywhere on the net where i can look into to see how it works.

Thanx in advance,

Remco Groot Beumer

Yes that's possible, i don't know whether you are using NT 4 or
something newer here. It's an active directory thing (or something like
that if it's nt4). There are windows API's for this kind of things that
are not standard available in VBA. Just search for API and active
directory and user on the net and you will be able to find something.

Take a look at the following site:

http://www.vb-helper.com/howto_get_user_name.html

HTH!
 
Top