sharepoint 中獲取用的 控件

sharepoint封裝好的,直接那來用就行了 

<wssawc:PeopleEditor AllowEmpty="false" ValidatorEnabled="true" id="userPicker" runat="server"
                    ShowCreateButtonInActiveDirectoryAccountCreationMode="true" SelectionSet="User" />
後臺去值用

string[] user = userPicker.CommaSeparatedAccounts.Split(new string[] { "," }, StringSplitOptions.None);//獲取被提問人用戶

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章