The RASCREDENTIALS structure is used with the RasGetCredentials and RasSetCredentials functions to specify the user credentials associated with a RAS phone-book entry.
typedef struct {
DWORD dwSize;
DWORD dwMask;
TCHAR szUserName[UNLEN + 1];
TCHAR szPassword[PWLEN + 1];
TCHAR szDomain[DNLEN + 1];
} RASCREDENTIALS, *LPRASCREDENTIALS;
Value | Meaning |
---|---|
RASCM_UserName | The szUserName member is valid. |
RASCM_Password | The szPassword member is valid. |
RASCM_Domain | The szDomain member is valid. |
Windows NT: Requires version 4.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in ras.h.
Unicode: Defined as Unicode and ANSI structures.
Remote Access Service Overview, RAS Server Administration Union, RasGetCredentials, RasSetCredentials