Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
User informatiion
Is there anyway I can findout if the user is logged on to the local domain
and if that user belongs to a particular group. Thanks for any help. Fred |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
User informatiion
there are several more advanced solutions but this works for me in winXP:
Sub User() MsgBox Environ$("username") & vbNewLine & _ Environ$("userdomain") & vbNewLine & _ Environ$("logonserver") End Sub keepITcool < email : keepitcool chello nl (with @ and .) < homepage: http://members.chello.nl/keepitcool "Fred" <leavemealone@home wrote: Is there anyway I can findout if the user is logged on to the local domain and if that user belongs to a particular group. Thanks for any help. Fred |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
User informatiion
Thanks Rob.
"Rob Bovey" wrote in message ... "Fred" <leavemealone@home wrote in message ... Is there anyway I can findout if the user is logged on to the local domain and if that user belongs to a particular group. Hi Fred, I've attached a small program I use to troubleshoot network login problems. It shows how to acquire the info you're looking for. Note that it will only work on Windows NT/2000/XP/2003 operating systems. The Win9x operating system family doesn't support the necessary APIs. -- Rob Bovey, MCSE, MCSD, Excel MVP Application Professionals http://www.appspro.com/ * Please post all replies to this newsgroup * * I delete all unsolicited e-mail responses * |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Defining user access (via user id) using macros | Excel Discussion (Misc queries) | |||
How do I report to User A vs User B from shared data table? | Excel Discussion (Misc queries) | |||
making NT user/login user appear in a cell | Excel Worksheet Functions | |||
moving informatiion from one sheet to a total sheet | Excel Discussion (Misc queries) | |||
How to: Make user click End User License Agreement acceptance | Excel Programming |