Summary
Adds a user to a PVCS project or project database.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks .PVCS - Base Types
-
- ExternalProgramBase
- PVCSTask
- P
V C S Project Database Task
graph BT
Type-->Base0["PVCSProjectDatabaseTask"]
click Base0 "/api/NAnt.Contrib.Tasks.PVCS/PVCSProjectDatabaseTask"
Base0-->Base1["PVCSTask"]
click Base1 "/api/NAnt.Contrib.Tasks.PVCS/PVCSTask"
Base1-->Base2["ExternalProgramBase"]
Type["PVCSAddUserTask"]
class Type type-node
Syntax
[TaskName("pvcsadduser")]
public sealed class PVCSAddUserTask : PVCSProjectDatabaseTask
Examples
Adds a user with name kb and password *Muse* to the project database specified by the
project-database property.
<pvcsadduser projectdatabase="${project-database}" username="kb" password="*Muse*"/>
Adds a user with name kb and password *Muse* to the project database specified by the
project-database property. The user's logon will expire on the 26th of October, 2005.
<pvcsadduser projectdatabase="${project-database}" username="kb" password="*Muse*" expirydate="10/26/2005"/>
Remarks
This task uses the adduser PCLI command to add the user to the PVCS project or database.
Attributes
| Type | Description |
|---|---|
| TaskName |
Constructors
| Name | Summary |
|---|---|
| PVCSAddUserTask |
Constructs and initializes an instance of PVCSAddUserTask.
|
Properties
| Name | Value | Summary |
|---|---|---|
| ExeName | string |
Gets the executable name for the command-line tool to run for the PVCS task.
Inherited from PVCSTask
|
| ExpiryDate | DateTime |
Gets or sets the expiration date for the new user.
|
| IncludeSubprojects | bool |
Gets or sets a value indicating whether the operation should include subprojects.
Inherited from P
|
| Password | string |
Gets or sets the password to use when connecting to the project database.
Inherited from P
|
| PCLICommandName | string |
Gets the PCLI command name that corresponds to the operation the task performs.
Inherited from PVCSTask
|
| ProgramArguments | string |
Gets the program arguments with which to run the wrapped PVCS process.
Inherited from PVCSTask
|
| ProjectDatabase | string |
Gets or sets the project database to utilize during the operation.
Inherited from P
|
| ProjectPath | string |
Gets or sets the project path to utilize during the operation.
Inherited from P
|
| PVCSBin | string |
Gets or sets the location of the PVCS binary command-line tools.
Inherited from PVCSTask
|
| Supports |
bool | |
| UserId | string |
Gets or sets the user ID to use when connecting to the project database.
Inherited from P
|
| UserName | string |
Gets or sets the user name for the new user.
|
| UserPassword | string |
Gets or sets the password for the new user.
|
| Workspace | string |
Gets or sets the workspace to use when connecting to the project database.
Inherited from P
|
Methods
| Name | Value | Summary |
|---|---|---|
| Add |
void | |
| ExecuteTask |
void |
Executes the task.
Inherited from PVCSTask
|
| PrepareProcess |
void |
Prepares the process wrapped by this task for execution.
Inherited from PVCSTask
|
| StartProcess |
Process |
Starts the process that is wrapped by this PVCS task.
Inherited from PVCSTask
|
