Autodesk Vault ProfessionalVault API

SignIn Method

Autodesk.Connectivity.WebServicesAuthService

Authenticates to a specific Vault via username and password.

Required Permissions

AllowsAnonymous

Syntax

public override Session SignIn(
   System.string userName,
   System.string userPassword,
   System.string knowledgeVault,
   System.string oldSessionId
)
Public Overrides NotOverridable Function SignIn( _
   ByVal userName As System.String, _
   ByVal userPassword As System.String, _
   ByVal knowledgeVault As System.String, _
   Optional ByVal oldSessionId As System.String _
) As Session

Parameters

NameDescription
userNameThe Vault user name.
userPasswordThe Vault password.
knowledgeVaultThe Vault database.
oldSessionIdCurrent session Id (can be null).

Return Value

Returns Session object.

Remarks

The Session information is then used for other web service calls.

If you are using the WebServiceManager or the Connection object, then the sign-in process will be handled automatically.

If the Vault server is using network licensing, the sign in will consume license.

See Also