OrganizationProfile.AddMember method (String, OrganizationMembershipType)
NOTE: This API is now obsolete.
Adiciona o perfil de usuário especificada para este objeto OrganizationProfile .
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaração
<ObsoleteAttribute("This class is no longer supported.")> _
Public Sub AddMember ( _
strAccountName As String, _
type As OrganizationMembershipType _
)
'Uso
Dim instance As OrganizationProfile
Dim strAccountName As String
Dim type As OrganizationMembershipType
instance.AddMember(strAccountName, type)
[ObsoleteAttribute("This class is no longer supported.")]
public void AddMember(
string strAccountName,
OrganizationMembershipType type
)
Parâmetros
strAccountName
Type: System.StringO nome associado ao perfil de usuário.
type
Type: Microsoft.Office.Server.UserProfiles.OrganizationMembershipTypeOrganizationMembershipType que identifica o tipo de associação. O usuário é um membro ou um líder.