C# Class TicketImporter.TfsUsers

Mostra file Open project: KilskyreMan/JiraToTfs Class Usage Examples

Public Methods

Method Description
AssignUser ( User toAssign, Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem workItem ) : void
CanAddTicket ( User toCheck ) : bool
Impersonate ( User userToImpersonate ) : TfsTeamProjectCollection
ImpersonateDefaultCreator ( ) : TfsTeamProjectCollection
ReleaseImpersonations ( ) : void
Save ( ) : void
TfsUsers ( TfsProject tfsProject ) : System

Private Methods

Method Description
ableToImpersonate ( TfsConnection tfs ) : bool
allTfsUsers ( TfsConnection tfs ) : TeamFoundationIdentity[]
getId ( string tfsUser ) : TeamFoundationIdentity

Method Details

AssignUser() public method

public AssignUser ( User toAssign, Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem workItem ) : void
toAssign User
workItem Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem
return void

CanAddTicket() public method

public CanAddTicket ( User toCheck ) : bool
toCheck User
return bool

Impersonate() public method

public Impersonate ( User userToImpersonate ) : TfsTeamProjectCollection
userToImpersonate User
return TfsTeamProjectCollection

ImpersonateDefaultCreator() public method

public ImpersonateDefaultCreator ( ) : TfsTeamProjectCollection
return TfsTeamProjectCollection

ReleaseImpersonations() public method

public ReleaseImpersonations ( ) : void
return void

Save() public method

public Save ( ) : void
return void

TfsUsers() public method

public TfsUsers ( TfsProject tfsProject ) : System
tfsProject TfsProject
return System