Compartir a través de


AccountService.CreateAccount (Método) (TeamFoundationRequestContext, String, String, AccountPreferences, IDictionary<String, Object>)

Crea una cuenta con el usuario autenticado actual como el creador.

Espacio de nombres:  Microsoft.VisualStudio.Services.Account
Ensamblado:  Microsoft.TeamFoundation.Framework.Server (en Microsoft.TeamFoundation.Framework.Server.dll)

Sintaxis

'Declaración
Public Function CreateAccount ( _
    requestContext As TeamFoundationRequestContext, _
    accountName As String, _
    organizationName As String, _
    accountPreferences As AccountPreferences, _
    properties As IDictionary(Of String, Object) _
) As Account
public Account CreateAccount(
    TeamFoundationRequestContext requestContext,
    string accountName,
    string organizationName,
    AccountPreferences accountPreferences,
    IDictionary<string, Object> properties
)

Parámetros

Valor devuelto

Tipo: Microsoft.VisualStudio.Services.Account.Account

Seguridad de .NET Framework

Vea también

Referencia

AccountService Clase

CreateAccount (Sobrecarga)

Microsoft.VisualStudio.Services.Account (Espacio de nombres)