Página 1 de 1
How to retrieve a users name?
Publicado: Lun Ago 18, 2008 10:05 am
por Stephan Hennekens
Like subject!
Regards,
Stephan
How to retrieve a users name?
Publicado: Lun Ago 18, 2008 10:23 am
por Ingo JH
Stephan,
is this what you want?
NetName()
Retrieves the current user name or the computer name.
Syntax
NetName( [<lInfo>] ) --> cComputerName | cUserName
Arguments
<lInfo>
If <lInfo> is set to .T. (true), the function returns the user account name,
otherwise it returns the computer name. Return
The function returns a character string containing either the computer name
or the user name. If this information cannot be retrieved, an empty string
("") is returned.
Description
NetName() serves informational purposes and is used when different users log
into the same computer, or when multiple computers run the same application
in a network.
Regards
Ingo
"Stephan Hennekens" <
stephan.hennekens@wur.nl> schrieb im Newsbeitrag
news:[email=
48a92d4b@ozsrv2.ozlan.local...]
48a92d4b@ozsrv2.ozlan.local...[/email]
> Like subject!
>
> Regards,
> Stephan
>
How to retrieve a users name?
Publicado: Lun Ago 18, 2008 10:23 am
por Ingo JH
Stephan,
is this what you want?
NetName()
Retrieves the current user name or the computer name.
Syntax
NetName( [<lInfo>] ) --> cComputerName | cUserName
Arguments
<lInfo>
If <lInfo> is set to .T. (true), the function returns the user account name,
otherwise it returns the computer name. Return
The function returns a character string containing either the computer name
or the user name. If this information cannot be retrieved, an empty string
("") is returned.
Description
NetName() serves informational purposes and is used when different users log
into the same computer, or when multiple computers run the same application
in a network.
Regards
Ingo
"Stephan Hennekens" <
stephan.hennekens@wur.nl> schrieb im Newsbeitrag
news:[email=
48a92d4b@ozsrv2.ozlan.local...]
48a92d4b@ozsrv2.ozlan.local...[/email]
> Like subject!
>
> Regards,
> Stephan
>
How to retrieve a users name?
Publicado: Lun Ago 18, 2008 10:44 am
por Stephan Hennekens
Thanks a lot Ingo.
I wasn't aware of the parameter.
Regards,
Stephan
"Ingo" <
support@mandantwin.com> wrote in message
news:48a93191$[email=
1@ozsrv2.ozlan.local...]
1@ozsrv2.ozlan.local...[/email]
> Stephan,
>
> is this what you want?
>
> NetName()
> Retrieves the current user name or the computer name.
> Syntax
> NetName( [<lInfo>] ) --> cComputerName | cUserName
>
> Arguments
> <lInfo>
> If <lInfo> is set to .T. (true), the function returns the user account
> name, otherwise it returns the computer name. Return
> The function returns a character string containing either the computer
> name or the user name. If this information cannot be retrieved, an empty
> string ("") is returned.
> Description
> NetName() serves informational purposes and is used when different users
> log into the same computer, or when multiple computers run the same
> application in a network.
>
> Regards
>
> Ingo
>
> "Stephan Hennekens" <
stephan.hennekens@wur.nl> schrieb im Newsbeitrag
> news:[email=
48a92d4b@ozsrv2.ozlan.local...]
48a92d4b@ozsrv2.ozlan.local...[/email]
>> Like subject!
>>
>> Regards,
>> Stephan
>>
>
How to retrieve a users name?
Publicado: Lun Ago 18, 2008 10:44 am
por Stephan Hennekens
Thanks a lot Ingo.
I wasn't aware of the parameter.
Regards,
Stephan
"Ingo" <
support@mandantwin.com> wrote in message
news:48a93191$[email=
1@ozsrv2.ozlan.local...]
1@ozsrv2.ozlan.local...[/email]
> Stephan,
>
> is this what you want?
>
> NetName()
> Retrieves the current user name or the computer name.
> Syntax
> NetName( [<lInfo>] ) --> cComputerName | cUserName
>
> Arguments
> <lInfo>
> If <lInfo> is set to .T. (true), the function returns the user account
> name, otherwise it returns the computer name. Return
> The function returns a character string containing either the computer
> name or the user name. If this information cannot be retrieved, an empty
> string ("") is returned.
> Description
> NetName() serves informational purposes and is used when different users
> log into the same computer, or when multiple computers run the same
> application in a network.
>
> Regards
>
> Ingo
>
> "Stephan Hennekens" <
stephan.hennekens@wur.nl> schrieb im Newsbeitrag
> news:[email=
48a92d4b@ozsrv2.ozlan.local...]
48a92d4b@ozsrv2.ozlan.local...[/email]
>> Like subject!
>>
>> Regards,
>> Stephan
>>
>