Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.