UserProfile.GetMyOrganizationChains 方法

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

Returns an array of organization profiles, including child organizations.

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

语法

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

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

返回值

类型:[]
An array of organization profiles, including child organizations.

备注

For example, if this user is a member of Organization A and Organization B is a parent of Organization A, then this method will return both A and B. If the method returns a 空引用(无 在 Visual Basic 中) value, then the user is not a member of any organization.

另请参阅

引用

UserProfile 类

UserProfile 成员

Microsoft.Office.Server.UserProfiles 命名空间