In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

How to retrieve a users name?

Xailer professional forum in English
Responder
Stephan Hennekens
Mensajes: 305
Registrado: Jue Nov 30, 2006 12:17 am

How to retrieve a users name?

Mensaje por Stephan Hennekens »

Like subject!
Regards,
Stephan
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

How to retrieve a users name?

Mensaje 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
>
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

How to retrieve a users name?

Mensaje 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
>
Stephan Hennekens
Mensajes: 305
Registrado: Jue Nov 30, 2006 12:17 am

How to retrieve a users name?

Mensaje 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
>>
>
Stephan Hennekens
Mensajes: 305
Registrado: Jue Nov 30, 2006 12:17 am

How to retrieve a users name?

Mensaje 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
>>
>
Responder