|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| No
| Win32s
| No
| Import Library
| rassapi.lib
| Header File
| rassapi.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
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
RAS_USER_0, RasAdminGetUserAccountServer, RasAdminUserSetInfo
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|