大网数据广告活动
域与目录服务

Enumerating Members in a Group

· 52CE 我爱测

Learn about enumerating members in an Azure Active Directory group. The members of a group are stored in a multi-value attribute called member.

The members of a group are stored in a multi-value attribute called member. For groups with a small to medium-sized membership, use the IADsGroup.Members method to get a pointer to an IADsMembers object that contains the list of all members. Then use the IADsMembers::get__NewEnum to get an enumerator object that you can use to enumerate the members.

If the anticipated group membership will be 1000 or more members, use ranging to retrieve users one range at a time. For more information about using ranging to enumerate members, see Enumerating Groups That Contain Many Members.

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)

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

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