Partager via


AccountService.AddUserToAccount Method

Adds a user identity to an account.

Namespace:  Microsoft.VisualStudio.Services.Account
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public MustOverride Sub AddUserToAccount ( _
    requestContext As TeamFoundationRequestContext, _
    accountUser As AccountUser _
)
public abstract void AddUserToAccount(
    TeamFoundationRequestContext requestContext,
    AccountUser accountUser
)
public:
virtual void AddUserToAccount(
    TeamFoundationRequestContext^ requestContext, 
    AccountUser^ accountUser
) abstract
abstract AddUserToAccount : 
        requestContext:TeamFoundationRequestContext * 
        accountUser:AccountUser -> unit
public abstract function AddUserToAccount(
    requestContext : TeamFoundationRequestContext, 
    accountUser : AccountUser
)

Parameters

.NET Framework Security

See Also

Reference

AccountService Class

Microsoft.VisualStudio.Services.Account Namespace