M-Files API 23.11.13135.0
AddVaultRoles Method
UserAccount Object : AddVaultRoles Method
Description
Adds new vault roles for the user.
Syntax
Visual Basic
Public Sub AddVaultRoles( _
   ByVal VaultRolesToAdd As MFUserAccountVaultRole _
) 
Parameters
VaultRolesToAdd
ValueDescription
MFUserAccountVaultRoleAnonymousUserAnonymous user.
MFUserAccountVaultRoleCannotManagePrivateViewsCannot manage private views and notification rules.
MFUserAccountVaultRoleChangeMetadataStructureChange metadata structure.
MFUserAccountVaultRoleChangeObjectSecurityChange permissions for all objects.
MFUserAccountVaultRoleCreateObjectsCan create documents or other objects.
MFUserAccountVaultRoleDefaultRolesThe default vault roles for a normal user.
MFUserAccountVaultRoleDefineTemplatesManage templates (obsolete).
MFUserAccountVaultRoleDestroyObjectsDestroy objects.
MFUserAccountVaultRoleForceUndoCheckoutForce undo checkout.
MFUserAccountVaultRoleFullControlFull control of vault.
MFUserAccountVaultRoleInternalUserInternal user (as opposed to external user).
MFUserAccountVaultRoleLogInCan log into the vault.
MFUserAccountVaultRoleManageCommonViewsManage common views and notification rules.
MFUserAccountVaultRoleManageTraditionalFoldersCan create and modify traditional folders.
MFUserAccountVaultRoleManageUserAccountsManage user accounts.
MFUserAccountVaultRoleManageWorkflowsManage workflows.
MFUserAccountVaultRoleNoneNone.
MFUserAccountVaultRoleSeeAllObjectsSee and read all vault content (including deleted objects).
MFUserAccountVaultRoleUndeleteObjectsSee and undelete deleted objects.
See Also

UserAccount Object  | UserAccount Members