UserProfile.GetMyOrganizations method (Boolean)

NOTE: This API is now obsolete.

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

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
<ObsoleteAttribute("This method is no longer supported.")> _
Public Function GetMyOrganizations ( _
    fRefresh As Boolean _
) As OrganizationProfile()
'Usage
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
)

Parameters

  • fRefresh
    Type: 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.

Return value

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

See also

Reference

UserProfile class

UserProfile members

GetMyOrganizations overload

Microsoft.Office.Server.UserProfiles namespace