RasAdminUserGetInfo
[New
- Windows NT]
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 |
|
); |
|
Parameters
lpszUserAccountServer
Pointer to a
null-terminated Unicode string that contains the name of the primary or backup
domain controller that has the user account database. Use the RasAdminGetUserAccountServer function to get this server
name.
lpszUser
Pointer to a
null-terminated Unicode string that contains the name of the user for whom to
get RAS information.
pRasUser0
Pointer to a RAS_USER_0 structure that receives the
RAS data for the specified user.
Return Values
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. |
Do not call GetLastError
to get error information for this function.
See Also