Re: User name and full username
- From: "Karl E. Peterson" <karl@xxxxxxxx>
- Date: Thu, 29 Jun 2006 16:36:30 -0700
Jack Russell wrote:
The getusername api returns the username not the full username.
Unfortunately you logon with the full user name (you can make these
different by modifying an existing name with control panel, user
accounts).
Is there a simple way to obtain the full user name of the logged on
user?
You must be on an XP "fast user switching" (FUS) box? You don't actually
log on with the Full Name, just click on it. To be anal. <g>
Anyway, I suspect what you're after is offered by NetUserGetInfo.
See: http://vb.mvps.org/samples/NetUser
--
Working without a .NET?
http://classicvb.org/
.
- Follow-Ups:
- Re: User name and full username
- From: Jack Russell
- Re: User name and full username
- References:
- User name and full username
- From: Jack Russell
- User name and full username
- Prev by Date: User name and full username
- Next by Date: Re: User name and full username
- Previous by thread: User name and full username
- Next by thread: Re: User name and full username
- Index(es):
Relevant Pages
|