Autodesk Vault ProfessionalVault API

AddUser Method

Autodesk.Connectivity.WebServicesAdminService

Adds a user.

Required Permissions

UserCreate

Syntax

public User AddUser(
   System.string userName,
   System.string email,
   System.bool isActive,
   System.long[] roleIdArray,
   System.long[] vaultIdArray,
   ProfileAttr[] attributes
)
Public Function AddUser( _
   ByVal userName As System.String, _
   ByVal email As System.String, _
   ByVal isActive As System.Boolean, _
   ByVal roleIdArray() As System.Long, _
   ByVal vaultIdArray() As System.Long, _
   ByVal attributes() As ProfileAttr _
) As User

Parameters

NameDescription
userNameThe user-friendly display name for the user (decoupled from account names)
emailThe email address of the user.
isActiveTells if the user is active or not.
roleIdArrayThe roles for the user.
vaultIdArrayThe Vaults that the user can log in to.
attributesprofile attributes for this user

Return Value

A User object with the newly created user data.

See Also