PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Identifies the name of the connected user.
WEBDEV - Server code In WEBDEV:
  • In test mode, identifies the name of the connected user on the server. In deployment, identifies the user used by default by the Web server.
  • In an Intranet context, can be used to find out the Windows login of the Client computer. However, for security reasons, browsers are "crippled" in order not to disclose any information about configuration or connection.. This security prevents from retrieving the Windows login user.
    Special case: Full Windows configuration (IIS - IE) with the Web user's computer and the Web server on the same domain: possibility to know the name of the connected Windows user by configuring the IIS server: you must no longer allow "Anonymous Access" but you must enable "Integrated Windows Authentication".
Example
// Identify the connected user
ResUser = NetworkUser()
// Identify the connected user
ResUser = NetworkUser()
Syntax
<Result> = NetworkUser()
<Result>: Character string
Name of Connected User.
Component : wd240std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Video NetworkUser
https://youtu.be/ZTmiqVczVHg
https://windevdesenvolvimento.blogspot.com/2019/09/dicas-2268-windev-webdev-mobile-net-4.html
// BTN_NetworkUser_Nome_usuario
EDT_NOME_USUARIO=NetworkUser()
amarildo
01 Sep. 2019
SHOW USER NAME
https://youtu.be/b8Q6iYXvQr0

// BTN_MOSTRAR_NOME_DO_USUARIO
// MOSTRAR NOME DO USUARIO
// SHOW USER NAME
// AFFICHER LE NOM D'UTILISATEUR

STC_NOME_DO_USUARIO="NOME DO USUARIO:"+NetworkUser()
amarildo
10 Jan. 2019
Exemplo Pegar Nome Usuario Windows
Exemplo Pegar Nome Usuario Windows

EDT_usuario_Windows=NetworkUser()

//Blog com Video e Exemplo
http://windevdesenvolvimento.blogspot.com.br/2016/09/curso-windev-funcoes-windows-011.html
https://www.youtube.com/watch?v=evEVxxs3pR0
De matos
18 Sep. 2016