Skip to content

Latest commit

 

History

History
180 lines (135 loc) · 5.13 KB

ns-mprapi-ras_user_1.md

File metadata and controls

180 lines (135 loc) · 5.13 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:mprapi._RAS_USER_1
RAS_USER_1 (mprapi.h)
The RAS_USER_1 structure contains information for a particular Remote Access Service user. The RAS_USER_1 structure is similar to the RAS_USER_0 structure, except that RAS_USER_1 supports an additional member, bfPrivilege2.
*PRAS_USER_1
PRAS_USER_1
PRAS_USER_1 structure pointer [RAS]
RASPRIV2_DialinPolicy
RASPRIV_AdminSetCallback
RASPRIV_CallerSetCallback
RASPRIV_DialinPrivilege
RASPRIV_NoCallback
RAS_USER_1
RAS_USER_1 structure [RAS]
_mpr_ras_user_1
mprapi/PRAS_USER_1
mprapi/RAS_USER_1
rras.ras_user_1
rras\ras_user_1.htm
RRAS
4699346e-0ed0-4091-a8d5-8a12cd6bfbcf
12/05/2018
*PRAS_USER_1, PRAS_USER_1, PRAS_USER_1 structure pointer [RAS], RASPRIV2_DialinPolicy, RASPRIV_AdminSetCallback, RASPRIV_CallerSetCallback, RASPRIV_DialinPrivilege, RASPRIV_NoCallback, RAS_USER_1, RAS_USER_1 structure [RAS], _mpr_ras_user_1, mprapi/PRAS_USER_1, mprapi/RAS_USER_1, rras.ras_user_1
mprapi.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
RAS_USER_1, *PRAS_USER_1
19H1
_RAS_USER_1
mprapi/_RAS_USER_1
PRAS_USER_1
mprapi/PRAS_USER_1
RAS_USER_1
mprapi/RAS_USER_1
c++
APIRef
kbSyntax
HeaderDef
Mprapi.h
RAS_USER_1

RAS_USER_1 structure

-description

The RAS_USER_1 structure contains information for a particular Remote Access Service user. The RAS_USER_1 structure is similar to the RAS_USER_0 structure, except that RAS_USER_1 supports an additional member, bfPrivilege2.

-struct-fields

-field bfPrivilege

Specifies the types of remote access privilege available to the RAS user.

The following remote access privilege constants are defined in Mprapi.h.

Value Meaning
RASPRIV_DialinPrivilege
The user has permission to dial in to the RAS server.
RASPRIV_NoCallback
The RAS server will not call back the user to establish a connection.
RASPRIV_AdminSetCallback
When the user calls, the RAS server hangs up and calls a preset call-back phone number stored in the user account database. The wszPhoneNumber member of the RAS_USER_0 structure contains the user's call-back phone number.
RASPRIV_CallerSetCallback
When the user calls, the RAS server provides the option of specifying a call-back phone number. The user can also choose to connect immediately without a call back. The wszPhoneNumber member contains a default number that the user can override.
 
 

Use the following constant as a mask to isolate the call back privilege. (This constant is also defined in Mprapi.h.)

RASPRIV_CallbackType

-field wszPhoneNumber

Pointer to a Unicode string containing the phone number at which the RAS user should be called back.

-field bfPrivilege2

Specifies flags that grant additional remote access privileges to the RAS user.

The following remote access privilege constants are defined in Mprapi.h.

Value Meaning
RASPRIV2_DialinPolicy
Remote access policies determine whether the user is allowed dial-in access.

-see-also

MprAdminUserGetInfo

MprAdminUserSetInfo

RAS Administration Structures

RAS_USER_0

Remote Access Service Administration Reference