連線篩選器資料類型與運算子 (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 資料類型 運算子

布林值

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 Coded 時間

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 屬性的第二個位元為一,則 "userAccountControl bit on equals 2" 子句會傳回 True。同樣地,bit off equals 運算子會檢查特定位元是否關閉 (零)。您為位元比較運算子提供的值,是您想要比較之位元遮罩的十進位對應項。例如,如果您想要檢查第五個位元 (0000 0000 0001 0000),則要使用值 16。

See Also

Concepts

規劃設定檔同步處理 (SharePoint Server 2010)