UserProfile.GetMyOrganizations 方法 (Boolean)

请注意:此 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 ( _
    fRefresh As Boolean _
) As OrganizationProfile()
用法
Dim instance As UserProfile
Dim fRefresh As Boolean
Dim returnValue As OrganizationProfile()

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

参数

  • fRefresh
    类型:System.Boolean

    A value that indicates whether the array of organization profiles should be updated. If this list of organization profiles has already been initialized, it might not be thoroughly up-to-date unless it is refreshed.

返回值

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

另请参阅

引用

UserProfile 类

UserProfile 成员

GetMyOrganizations 重载

Microsoft.Office.Server.UserProfiles 命名空间