[This is preliminary documentation and subject to change.]
The MprAdminUserGetInfo function retrieves all RAS information for a particular user.
DWORD MprAdminUserGetInfo(
const WCHAR * lpwsServerName, // name of PDC or BDC with UAS
const WCHAR * lpwsUserName, // name of user
DWORD dwLevel, // must be zero
LPBYTE lpbBuffer // RAS_USER_0 structure
);
If the function succeeds, the return value will be NO_ERROR.
If the function fails the return value will be one of the following values.
Value | Meaning |
---|---|
ERROR_ACCESS_DENIED | The caller does not have sufficient privilege. |
ERROR _INVALID_PARAMETER | The value of dwLevel is invalid. |
Windows NT: Use version 5.0 and later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in mprapi.h.
Import Library: Link with mprapi.lib.
MprAdminGetPDCServer, MprAdminUserSetInfo, RAS_USER_0