PeopleManager.GetPropertiesFor 方法
Gets user properties for the specified user.
命名空间: Microsoft.SharePoint.Client.UserProfiles
程序集: Microsoft.SharePoint.Client.UserProfiles.Silverlight(位于 Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll 中); Microsoft.SharePoint.Client.UserProfiles.Phone(位于 Microsoft.SharePoint.Client.UserProfiles.Phone.dll 中) Microsoft.SharePoint.Client.UserProfiles(位于 Microsoft.SharePoint.Client.UserProfiles.dll 中)
语法
声明
Public Function GetPropertiesFor ( _
accountName As String _
) As PersonProperties
用法
Dim instance As PeopleManager
Dim accountName As String
Dim returnValue As PersonProperties
returnValue = instance.GetPropertiesFor(accountName)
public PersonProperties GetPropertiesFor(
string accountName
)
参数
- accountName
类型:System.String
返回值
类型:Microsoft.SharePoint.Client.UserProfiles.PersonProperties
备注
For a code example that shows how to use this method, see 如何:使用 SharePoint 2013 中的 .NET 客户端对象模型检索用户配置文件属性.