UserProfile.GetMyOrganizations 方法

请注意:此 API 现在已过时。

Returns an array of organization profiles representing organizations to which this user directly belongs.

命名空间:  Microsoft.Office.Server.UserProfiles
程序集:  Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)

语法

声明
<ObsoleteAttribute("This method is no longer supported.")> _
Public Function GetMyOrganizations As OrganizationProfile()
用法
Dim instance As UserProfile
Dim returnValue As OrganizationProfile()

returnValue = instance.GetMyOrganizations()
[ObsoleteAttribute("This method is no longer supported.")]
public OrganizationProfile[] GetMyOrganizations()

返回值

类型:[]
An array of organization profiles representing organizations to which this user directly belongs.

备注

If the method returns a 空引用(无 在 Visual Basic 中) value, then the user is not a member of any organization.

另请参阅

引用

UserProfile 类

UserProfile 成员

GetMyOrganizations 重载

Microsoft.Office.Server.UserProfiles 命名空间