Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

Deactivate User

Use this command to deactivate a user. Deactivated users will not be able to sign on to Longview, however the user’s information and settings remain in the database. When the user is Activated, the user can sign on to Longview again.

Copy

Syntax (regular)

DEACTIVATE USER [DomainName\]UserId                                    

where:

  • DomainName is optional and is the network domain of a Windows-authenticated user.
  • UserId is the name of the user to which you want to activate.
Copy

Syntax example

DEACTIVATE USER JSmith                                

Creating an ASCII input file

To deactivate multiple users, specify the parameters for this command in an ASCII file.

Create an ASCII file containing the following information for each user:

[DomainName\]UserId

Copy

Syntax (with an ASCII file)

DEACTIVATE USER @FileName                                            

where:

  • FileName is an ASCII file containing the data. It can include a complete or a partial folder path in the format C:\...\FileName. If FileName includes spaces, enclose it in double quotation marks; for example:

    @"C:\My Documents\My Data.txt"

Copy

Syntax Example

MAINTENANCE ON
DEACTIVATE USER @users.txt                                            
MAINTENANCE OFF

See also

Published:

Deactivate User

Use this command to deactivate a user. Deactivated users will not be able to sign on to Longview, however the user’s information and settings remain in the database. When the user is Activated, the user can sign on to Longview again.

Copy

Syntax (regular)

DEACTIVATE USER [DomainName\]UserId                                    

where:

  • DomainName is optional and is the network domain of a Windows-authenticated user.
  • UserId is the name of the user to which you want to activate.
Copy

Syntax example

DEACTIVATE USER JSmith                                

Creating an ASCII input file

To deactivate multiple users, specify the parameters for this command in an ASCII file.

Create an ASCII file containing the following information for each user:

[DomainName\]UserId

Copy

Syntax (with an ASCII file)

DEACTIVATE USER @FileName                                            

where:

  • FileName is an ASCII file containing the data. It can include a complete or a partial folder path in the format C:\...\FileName. If FileName includes spaces, enclose it in double quotation marks; for example:

    @"C:\My Documents\My Data.txt"

Copy

Syntax Example

MAINTENANCE ON
DEACTIVATE USER @users.txt                                            
MAINTENANCE OFF

See also

For an optimal Community experience, Please view on Desktop