UserProfile.GetMyOrganizationChains method
NOTE: This API is now obsolete.
Retorna uma matriz de perfis da organização, incluindo organizações filhas.
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 GetMyOrganizationChains As OrganizationProfile()
'Uso
Dim instance As UserProfile
Dim returnValue As OrganizationProfile()
returnValue = instance.GetMyOrganizationChains()
[ObsoleteAttribute("This method is no longer supported.")]
public OrganizationProfile[] GetMyOrganizationChains()
Valor retornado
Type: []
Uma matriz de perfis da organização, incluindo organizações filhas.
Comentários
Por exemplo, se esse usuário é um membro da empresa A e empresa B é pai de uma organização, em seguida, este método retornará tanto A e b. 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.