다음을 통해 공유


UserProfile.GetMyOrganizations Method

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 As OrganizationProfile()
'Usage
Dim instance As UserProfile
Dim returnValue As OrganizationProfile()

returnValue = instance.GetMyOrganizations()
public OrganizationProfile[] GetMyOrganizations()

Return Value

Type: []

Remarks

If the method returns a a null reference (Nothing in Visual Basic) value, then the user is not a member of any organization.

See Also

Reference

UserProfile Class

UserProfile Members

GetMyOrganizations Overload

Microsoft.Office.Server.UserProfiles Namespace