Autodesk Vault ProfessionalVault API

SignInWithLicense Method

Autodesk.Connectivity.WebServicesAuthService

Authenticates to a specific Knowledge Vault via AutodeskID token that will be used for licensing only.

Required Permissions

AllowsAnonymous

Syntax

public override Session SignInWithLicense(
   System.string autodeskIdToken,
   System.string userName,
   System.string userPassword,
   System.string knowledgeVault,
   System.string oldSessionId
)
Public Overrides NotOverridable Function SignInWithLicense( _
   ByVal autodeskIdToken As System.String, _
   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
autodeskIdTokenThe Access token can be taken from IAutodeskAccount.GetAccessToken().
userNameThe user Vault account name.
userPasswordThe user Vault account password.
knowledgeVaultThe knowledge vault to sign in to.
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