大网数据广告活动
网络与域名解析

RAS_USER_0 structure (Rassapi.h)

· 52CE 我爱测

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

[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 Rassapi.h

See also

Remote Access Service (RAS) Overview

RAS Server Administration Structures

RasAdminUserGetInfo

RasAdminUserSetInfo

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。