UserProfile.GetMyOrganizations method
NOTE: This API is now obsolete.
Retorna uma matriz de perfis da organização que representa as organizações às quais este usuário pertence diretamente.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaração
<ObsoleteAttribute("This method is no longer supported.")> _
Public Function GetMyOrganizations As OrganizationProfile()
'Uso
Dim instance As UserProfile
Dim returnValue As OrganizationProfile()
returnValue = instance.GetMyOrganizations()
[ObsoleteAttribute("This method is no longer supported.")]
public OrganizationProfile[] GetMyOrganizations()
Valor retornado
Type: []
Uma matriz de perfis da organização que representa as organizações às quais este usuário pertence diretamente.
Comentários
Se o método retornar um valor de a null reference (Nothing in Visual Basic) , o usuário não é um membro de qualquer organização.