Condividi tramite


AccountService Class

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public MustInherit Class AccountService _
    Implements ITeamFoundationService
public abstract class AccountService : ITeamFoundationService
public ref class AccountService abstract : ITeamFoundationService
[<AbstractClass>]
type AccountService =  
    class 
        interface ITeamFoundationService 
    end
public abstract class AccountService implements ITeamFoundationService

The AccountService type exposes the following members.

Constructors

  Name Description
Protected method AccountService

Top

Methods

  Name Description
Public method AddUserToAccount Adds a user identity to an account.
Protected method CheckOrphanHost
Public method CreateAccount(TeamFoundationRequestContext, String, String, AccountPreferences, IDictionary<String, Object>) Creates an account with the current authenticated user as the creator.
Public method CreateAccount(TeamFoundationRequestContext, String, String, Guid, AccountPreferences, IDictionary<String, Object>)
Public method CreateAccountHost
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAccount(TeamFoundationRequestContext, Guid, IEnumerable<String>)
Public method GetAccount(TeamFoundationRequestContext, String, IEnumerable<String>)
Public method GetAccounts
Public method GetAccountUrl Returns a URL corresponding to the account host for the account name.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLicenses Returns license information for an account.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method QueryForAccountsByCreator
Public method QueryForAccountsByMember Queries accounts associated with user ID.
Public method QueryForAccountsByOwner
Public method QueryForMembersByAccount
Public method RemoveUserFromAccount Removes a user identity from an account.
Public method ServiceEnd
Public method ServiceStart
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UpdateAccount
Public method UpdateUserInAccount Updates a user's license status associated with an account.

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Services.Account Namespace