Platform SDK: RAS/Routing and RAS

RAS_USER_0

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.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Header: Declared in Rassapi.h.

See Also

Remote Access Service (RAS) Overview, RAS Server Administration Structures, RasAdminUserGetInfo, RasAdminUserSetInfo