I've found the current user - but...  
Author Message
Mtcc





PostPosted: Wed Nov 23 13:46:51 CST 2005 Top

MS Word VBA >> I've found the current user - but...

With help from Karl E. Peterson I've now learnt how to find the current
system user.
Is it also possible to list all system users ?

/BosseH

Word196  
 
 
Karl





PostPosted: Wed Nov 23 13:46:51 CST 2005 Top

MS Word VBA >> I've found the current user - but...
> With help from Karl E. Peterson I've now learnt how to find the
> current system user.
> Is it also possible to list all system users ?

That could be a huge task. I think you'd need to very carefully define it.
For example, are you looking only for those with local profiles? All domain
users?
--
Working without a .NET?
http://classicvb.org/


 
 
Bo





PostPosted: Wed Nov 23 14:41:41 CST 2005 Top

MS Word VBA >> I've found the current user - but... What I really want to know is if there are more than ONE user account
registered on the computer.

/BosseH





>> With help from Karl E. Peterson I've now learnt how to find the
>> current system user.
>> Is it also possible to list all system users ?
>
> That could be a huge task. I think you'd need to very carefully define
> it.
> For example, are you looking only for those with local profiles? All
> domain
> users?
> --
> Working without a .NET?
> http://classicvb.org/
>
>


 
 
Karl





PostPosted: Wed Nov 23 14:48:29 CST 2005 Top

MS Word VBA >> I've found the current user - but...
> What I really want to know is if there are more than ONE user account
> registered on the computer.

Take a look here:

Hey, Scripting Guy!
http://www.microsoft.com/technet/scriptcenter/resources/qanda/jun05/hey0603.
mspx

Fwiw, there's (hedging just a bit, nearly) *always* more than one account.
--
Working without a .NET?
http://classicvb.org/


 
 
Bo





PostPosted: Wed Nov 23 15:32:23 CST 2005 Top

MS Word VBA >> I've found the current user - but... Well, that seems to be beyond my horizon! However, the important thing was
to find the CURRENT user. Thanks a lot!

/BosseH




>> What I really want to know is if there are more than ONE user account
>> registered on the computer.
>
> Take a look here:
>
> Hey, Scripting Guy!
> http://www.microsoft.com/technet/scriptcenter/resources/qanda/jun05/hey0603.
> mspx
>
> Fwiw, there's (hedging just a bit, nearly) *always* more than one account.
> --
> Working without a .NET?
> http://classicvb.org/
>
>