RAS_USER_0 structure
[This version of the RAS_USER_0 structure is not supported as of Windows Vista. Use the newer RAS_USER_0 defined in mprapi.h instead.]
The RAS_USER_0 structure is used in the RasAdminUserSetInfo and RasAdminUserGetInfo functions to specify information about a user.
Syntax
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. 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. Specify one of the call-back flags in the call to the RasAdminUserSetInfo function.
-
szPhoneNumber
-
A null-terminated Unicode string that specifies the call-back phone number for the user.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
End of client support |
Windows XP |
End of server support |
Windows Server 2003 |
Header |
|