sharepoint封裝好的,直接那來用就行了
<wssawc:PeopleEditor AllowEmpty="false" ValidatorEnabled="true" id="userPicker" runat="server"
ShowCreateButtonInActiveDirectoryAccountCreationMode="true" SelectionSet="User" />
後臺去值用
string[] user = userPicker.CommaSeparatedAccounts.Split(new string[] { "," }, StringSplitOptions.None);//獲取被提問人用戶