Compartilhar via


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.String

    O nome associado ao perfil de usuário.

Ver também

Referência

OrganizationProfile class

OrganizationProfile members

AddMember overload

Microsoft.Office.Server.UserProfiles namespace