Index   Commented   Search   About

Overview
Group
Quick Info

RAS_USER_0

[New - Windows NT]

The RAS_USER_0 structure is used in the RasAdminUserSetInfo and RasAdminUserGetInfo functions to specify information about a user.

typedef struct _RAS_USER_0 {

BYTE bfPrivilege;

WCHAR szPhoneNumber[ RASSAPI_MAX_PHONENUMBER_SIZE + 1];

} RAS_USER_0, *PRAS_USER_0;

Members

bfPrivilege

A set of bit flags that specify the RAS privileges of the user. This member can be a combination of the RASPRIV_DialinPrivilege flag and one of the call-back flags. Note that when you call the RasAdminUserSetInfo function, you must specify one of the call-back flags. You can use the RASPRIV_CallbackType mask to identify the type of call-back privilege provided to the user. The following flags are defined.

Value
Meaning
RASPRIV_NoCallback
The user has no call-back privilege.
RASPRIV_AdminSetCallback
The user account is configured to have the administrator set the call-back number.
RASPRIV_CallerSetCallback
The remote user can specify a call-back phone number when dialing in.
RASPRIV_DialinPrivilege
The user has permission to dial in to this server.

szPhoneNumber

A null-terminated Unicode string that specifies the call-back phone number for the user.

See Also

RasAdminUserGetInfo
, 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

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

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun