Condividi tramite


_WTS_USER_CREDENTIAL struttura (wtsdefs.h)

Contiene informazioni sulle credenziali per un utente. Questa struttura viene usata dal metodo GetUserCredentials .

Sintassi

typedef struct _WTS_USER_CREDENTIAL {
  WCHAR UserName[WTS_USERNAME_LENGTH + 1];
  WCHAR Password[WTS_PASSWORD_LENGTH + 1];
  WCHAR Domain[WTS_DOMAIN_LENGTH + 1];
} _WTS_USER_CREDENTIAL, WTS_USER_CREDENTIAL, *PWTS_USER_CREDENTIAL, _WRDS_USER_CREDENTIAL;

Members

UserName[WTS_USERNAME_LENGTH + 1]

Stringa contenente il nome dell'utente.

Password[WTS_PASSWORD_LENGTH + 1]

Stringa contenente la password utente.

Domain[WTS_DOMAIN_LENGTH + 1]

Stringa contenente il nome di dominio per l'utente.

Commenti

Il nome utente e la password sono testo non crittografato.

Requisiti

Requisito Valore
Client minimo supportato Nessuno supportato
Server minimo supportato Windows Server 2008 R2
Intestazione wtsdefs.h (includere Wtsprotocol.h)