login
Description
Authenticates a user to a specified vault.
Syntax
login [-auto|-win -username -password|-external -username -password ] -vaultname
Parameters
| Parameter | Required | Description |
|---|---|---|
-auto |
No | See parameter details below. |
-win |
No | See parameter details below. |
-username |
No | See parameter details below. |
-password |
No | See parameter details below. |
-external |
No | See parameter details below. |
-vaultname |
Mode-dependent | See parameter details below. |
Parameter Details
auto: Automatic authentication with current user. Displays login dialog box if not logged in.
win: Automatic Windows authentication with current user. Does not display login dialog box.
external: Toggle ensures that a license is consumed.
username: Username.
password: Password.
vaultName: Vault Name.
Examples
login -username admin -password ******** -vaultName bluebyte #logs into the bluebyte vault with a username ans a password
login -auto -vaultName bluebyte #logs into the blue byte vault using the existing PDM session
Remarks
- You must have a local vault view before you can start using PDMShell.
- The
externalparameter allows an application that is not supplied and supported by SOLIDWORKS Corporation to:- Log into SOLIDWORKS PDM Professional
- Log into a vault view
Tutorial
Availability
Available since PDMShell 2.0.0.