| Platform SDK: RAS/Routing and RAS | 
The RasAdminUserGetInfo function gets the RAS permissions and callback phone number information for a specified user.
DWORD RasAdminUserGetInfo(
  const WCHAR *lpszUserAccountServer,
                         // pointer to the name of the user account 
                         //  server
  const WCHAR *lpszUser, // pointer to the name of the user
  PRAS_USER_0 pRasUser0  // receives the user's RAS information
);
If the function succeeds, the return value is ERROR_SUCCESS.
If the function fails, the return value can be the following error code.
| Value | Meaning | 
|---|---|
| NERR_BufTooSmall | Insufficient memory to perform this function. | 
There is no extended error information for this function; do not call GetLastError.
  Windows NT/2000: Requires Windows NT 4.0 or later.
  Header: Declared in Rassapi.h.
  Library: Use Rassapi.lib.
Remote Access Service (RAS) Overview, RAS Server Administration Functions, RAS_USER_0, RasAdminGetUserAccountServer, RasAdminUserSetInfo