Documentation

​
​

Development

User Acquisition

Monetization

Industry

Unity Version Control

DevOps

On-prem

Gluon

Editor plug-in

Open Unity Dashboard

Unity Version Control

​
​
Unity Version Control
  • Overview
  • Cloud Repositories organization update
  • Installation
  • Use UVCS with the Unity Editor
  • Unity Version Control plugins
  • Concepts
  • Tutorials
  • On-Prem
  • Gluon
  • CLI and shortcut references
    • Unity Version Control CLI
      • acl
      • activateuser
      • add
      • admin
      • annotate
      • api
      • applylocal
      • archive
      • attribute
      • autocomplete
      • branch
      • changelist
      • changerevisiontype
      • changeset
      • changeuserpassword
      • checkconnection
      • checkin
      • checkout
      • checkselectorsyntax
      • clone
      • codereview
      • configure
      • crypt
      • deactivateuser
      • diff
      • diffmetrics
      • fastexport
      • fastimport
      • fileinfo
      • find
      • getconfig
      • getfile
      • getrevision
      • getstatus
      • gettaskbranches
      • getworkspacefrompath
      • getworkspaceinfo
      • help
      • history
      • iostats
      • issuetracker
      • label
      • licenseinfo
      • linktask
      • list
      • listusers
      • location
      • lock
      • log
      • merge
      • move
      • objectspec
      • partial
      • patch
      • profile
      • pull
      • purge
      • push
      • query
      • remove
      • repository
      • revert
      • setowner
      • shelveset
      • show-find-objects
      • showacl
      • showcommands
      • showowner
      • showpermissions
      • support
      • switch
      • sync
      • trigger
      • tube
      • undelete
      • undo
      • undochange
      • undocheckout
      • undocheckoutunchanged
      • update
      • version
      • whoami
      • workspace
      • workspacestatus
      • xlink
    • CLI help
    • Pipe commands
    • cm find
    • Windows keyboard shortcuts
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

DEACTIVATEUSER

Deactivate users with the Unity Version Control CLI.
Read time 1 minute
Last updated 10 months ago

Description

Deactivates a licensed user.

Usage

cm deactivateuser | du <usr_name>[ ...] [--server=<name:port>] [--nosolveuser]

Options

Option / Argument

Description

--serverDeactivates the user on the specified server. If no server is specified, executes the command on the one configured on the client.
--nosolveuserWith this option, the command will not check whether the user name exists on the authentication system. The <usr_name> must be a user SID.
usr_nameThe user name(s) to deactivate. Use a whitespace to separate user names. If SID, then '--nosolveuser' is required.

Help

Remarks

This command sets a user to inactive, disabling the usage of UVCS for that user.
See the 'cm activateuser' command for more information about activating UVCS users.
This command checks whether the user exists on the underlying authentication system (e.g. ActiveDirectory, LDAP, User/Password...). To force the deactivation of a user that no longer exists on the authentication system, you can use the '--nosolveuser' option.

Examples

cm deactivateuser john
cm du peter "mary collins"
cm deactivateuser john --server=myserver:8084
cm deactivateuser S-1-5-21-3631250224-3045023395-1892523819-1107 --nosolveuser

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Description

      • Usage

      • Options

    • Help

      • Remarks

      • Examples


Report a problem with this page