AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones de red
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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: wd290std.dll
Versión mínima requerida
  • Versión 9
Comentarios
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 09 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 01 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 09 2016

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local