Table of Contents

LOGIN Command

Description

Authenticates a user to a specified vault.

Syntax

login [-auto|-win -username -password|-external -username -password ] -vaultname 

Parameters

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 external parameter 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 or earlier.