[Gambas-user] User.Name vs Human username behavior?

Charlie Reinl Karl.Reinl at ...2345...
Fri Oct 25 21:04:54 CEST 2013


Am Freitag, den 25.10.2013, 10:19 -0430 schrieb PICCORO McKAY Lenz:
> For USer.Name usage behavior: its the correct behavior or i must
> obtain Human user name? the documentation are not clear about that!!!
> 
> In folowing code, i tried to see if User.Name return session name of
> user:
> 
> Public Sub Main()
>     Print "user name  " & User.Name
>     Print "user home  " & User.Home
> End
> 
> When runnig obtain session name and not human name, this its correct?
> 
> usuario at ...3205...:~$ ./Pruebas
> user name  usuario
> user home  /home/usuario
> usuario at ...3205...:~$
> 
> Filter /etc/passwd :
> 
> usuario at ...3205...:~$ cat /etc/passwd | grep usuario
> usuario:x:1003:1003:UsuarioNuevo,,,:/home/usuario:/bin/bash
> usuario at ...3205...:~$
> 
> Human name are "UsuarioNuevo"
> Session name are: "usuario"

Salut PICCORO,

are you using 'Human name' to login on venenux, or that what you call
'Session name' 
How important is that what you call 'Human name', for working with your
computer?

'Human name' is just a description for the human behind what you call
'Session name'.

I call that 'user'.

 
-- 
Amicalement
Charlie





More information about the User mailing list