[This is preliminary documentation and subject to change.]
The MprAdminUserSetInfo function sets RAS information for the specified user.
DWORD MprAdminUserSetInfo(
const WCHAR * lpwsServerName, // name of PDC or BDC with UAS
const WCHAR * lpwsUserName, // name of user
DWORD dwLevel, // must be zero
const 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, MprAdminUserGetInfo, RAS_USER_0