连接筛选器数据类型和运算符 (SharePoint Server 2010)

 

适用于: SharePoint Server 2010

上一次修改主题: 2015-03-09

在将配置文件信息与 Microsoft SharePoint Server 2010 中的目录服务同步时,您可以提供一个用于标识要从同步中排除的用户或组的筛选器。筛选器包含一组格式为 <attribute><operator><value> 子句以及联接子句的方法。属性的数据类型确定了可用的运算符。有关筛选器及其创建方式的详细信息,请参阅规划配置文件同步 (SharePoint Server 2010)

下表列出了对每种 Active Directory 域服务 (AD DS) 数据类型可用的运算符。

AD DS 数据类型 运算符

Boolean

is present、is not present、true、false

不区分大小写的字符串

is present、is not present、equals、does not equal、starts with、does not start with、ends with、does not end with、contains、does not contain

可分辨名称

is present、is not present、equals、does not equal、starts with、does not start with、ends with、does not end with、contains、does not contain

IA5 字符串

is present、is not present、equals、does not equal、starts with、does not start with、ends with、does not end with、contains、does not contain

整数

is present、is not present、equals、does not equal、less than、less than or equal、greater than、greater than or equal、bit on equals、bit off equals

大整数或间隔

is present、is not present

数字字符串

is present、is not present、equals、does not equal、starts with、does not start with、ends with、does not end with、contains、does not contain

八进制字符串

is present、is not present

备注

AD DS 属性 unicodePwd 是一个八进制字符串,但 SharePoint Server 将其视为 Unicode 字符串以便同步配置文件。

SID

is present、is not present

Unicode 字符串

is present、is not present、equals、does not equal、starts with、does not start with、ends with、does not end with、contains、does not contain

UTC 编码的时间

is present、is not present、equals、does not equal、starts with、does not start with、ends with、does not end with、contains、does not contain

备注

bit on equals 运算符检查是否启用了特定位。例如,如果 userAccountControl 属性的第二个位是 1,则子句“userAccountControl bit on equals 2”为 true。同样地,bit off equals 运算符检查是否禁用了特定位(零)。为位比较运算符提供的值是要比较的位掩码的十进制等效值。例如,若要检查第五个位 (0000 0000 0001 0000),则请使用值 16。

See Also

Concepts

规划配置文件同步 (SharePoint Server 2010)