This documentation is archived and is not being maintained.

AccountService Class

System.Object
  Microsoft.VisualStudio.Services.Account.AccountService

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

public abstract class AccountService : ITeamFoundationService

The AccountService type exposes the following members.

  NameDescription
Public methodAddUserToAccountAdds a user identity to an account.
Protected methodCheckOrphanHost
Public methodCreateAccount(TeamFoundationRequestContext, String, String, AccountPreferences, IDictionary<String, Object>)Creates an account with the current authenticated user as the creator.
Public methodCreateAccount(TeamFoundationRequestContext, String, String, Guid, AccountPreferences, IDictionary<String, Object>)
Public methodCreateAccountHost
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetAccount(TeamFoundationRequestContext, Guid, IEnumerable<String>)
Public methodGetAccount(TeamFoundationRequestContext, String, IEnumerable<String>)
Public methodGetAccounts
Public methodGetAccountUrlReturns a URL corresponding to the account host for the account name.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetLicensesReturns license information for an account.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodQueryForAccountsByCreator
Public methodQueryForAccountsByMemberQueries accounts associated with user ID.
Public methodQueryForAccountsByOwner
Public methodQueryForMembersByAccount
Public methodRemoveUserFromAccountRemoves a user identity from an account.
Public methodServiceEnd
Public methodServiceStart
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUpdateAccount
Public methodUpdateUserInAccountUpdates a user's license status associated with an account.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: