UserProfile.GetMyOrganizations Method (Boolean)

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
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)
public OrganizationProfile[] GetMyOrganizations(
    bool fRefresh
)

Parameters

  • fRefresh
    Type: System.Boolean

    A value indicating 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: []

See Also

Reference

UserProfile Class

UserProfile Members

GetMyOrganizations Overload

Microsoft.Office.Server.UserProfiles Namespace