Randy Birch has a
VB solution for the current user which you could modify.
It is at vbnet.mvps.ortg, search on How to Determine if the Current User is
a Member of Administrator
--
HTH
RP
"MrT" wrote in message
...
Dear Colleagues,
Do you know a way to determine if the group to the which the user belongs
(administrator, guest, standard user, ...)?
I tried using Environ but could not find a solution this way.
Thanks for your help,
MrT