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

Controlling Object Visibility

· 52CE 我爱测

Active Directory Domain Services provide the ability to hide objects from users who have been denied certain rights.

Active Directory Domain Services provide the ability to hide objects from users who have been denied certain rights. If an object is hidden, an application that is running with a user's credentials will not be able to enumerate or bind to the object.

If a user is granted the ADS_RIGHT_ACTRL_DS_LIST access control right on a container, the user can view any of the child objects of the container. Likewise, if a user is denied the ADS_RIGHT_ACTRL_DS_LIST access control right on a container, the user cannot view any of the child objects of the container. This allows the contents of entire containers to be hidden.

The Active Directory server can also be put into a special list object mode by setting the third character of the dSHeuristics property to "1". The list object mode can be disabled by setting the third character of the dSHeuristics property to "0". When the Active Directory server is in the list object mode, an object will still be visible if the user has been granted the ADS_RIGHT_ACTRL_DS_LIST right on the parent object. If, however, the user has been denied the ADS_RIGHT_ACTRL_DS_LIST right on the parent, specific child objects can still be made visible if the user is granted the ADS_RIGHT_DS_LIST_OBJECT right on both the parent and child objects. The list object mode allows the system administrator to grant or deny access to individual objects for users or groups. The list object mode should be used sparingly because it requires a significantly higher number of access check calls to be made by the directory service to determine if an object is visible to a user. Thus it can have a negative effect on the performance of browsing or reading objects from Active Directory Domain Services.

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)

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

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