AccountService.CreateAccount Method (TeamFoundationRequestContext, String, String, Guid, AccountPreferences, IDictionary<String, Object>)
Namespace: Microsoft.VisualStudio.Services.Account
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public MustOverride Function CreateAccount ( _
requestContext As TeamFoundationRequestContext, _
accountName As String, _
organizationName As String, _
creatorId As Guid, _
accountPreferences As AccountPreferences, _
properties As IDictionary(Of String, Object) _
) As Account
public abstract Account CreateAccount(
TeamFoundationRequestContext requestContext,
string accountName,
string organizationName,
Guid creatorId,
AccountPreferences accountPreferences,
IDictionary<string, Object> properties
)
public:
virtual Account^ CreateAccount(
TeamFoundationRequestContext^ requestContext,
String^ accountName,
String^ organizationName,
Guid creatorId,
AccountPreferences^ accountPreferences,
IDictionary<String^, Object^>^ properties
) abstract
abstract CreateAccount :
requestContext:TeamFoundationRequestContext *
accountName:string *
organizationName:string *
creatorId:Guid *
accountPreferences:AccountPreferences *
properties:IDictionary<string, Object> -> Account
public abstract function CreateAccount(
requestContext : TeamFoundationRequestContext,
accountName : String,
organizationName : String,
creatorId : Guid,
accountPreferences : AccountPreferences,
properties : IDictionary<String, Object>
) : Account
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- accountName
Type: System.String
- organizationName
Type: System.String
- creatorId
Type: System.Guid
- accountPreferences
Type: Microsoft.TeamFoundation.Framework.Server.AccountPreferences
- properties
Type: System.Collections.Generic.IDictionary<String, Object>
Return Value
Type: Microsoft.VisualStudio.Services.Account.Account
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.