Small company logo:
   History
 
Advertising banner:
 
 F23400
Home • Help • Administering OTSW • F23400
 
Finding inactive users
At some point, you may wish to locate and delete inactive users. The Custodian application will display the last logged in date of your users, but you cannot export or sort on this column so it will be difficult to locate inactive users with the Custodian application.
The best way to do this is to execute a scripting command to retrieve the last logged in date for all of your users.
The scripting command is
GET USER userid 1201 1202 1204 1230 +d
where userid is replaced with the userID of the user you are retrieving information about.
If you send this script (one line per user), it will return the userID, first name, last name, and the date and time of the last login for the user.
For example, the following message sent to batch admin:
GET USER msmith 1201 1202 1204 1230 +d  
might return something like this:
1201 0 "MSmith" 1202 0 "Mike" 1204 0 "Smith" 1230 14 "2009/11/07" 16:47:55"
Follow the procedure Using List Directory to retrieve a list of users and userIDs" in the Reference material to retrieve all of the userIDs on your system.
Once you have retrieved all userIDs from your server, you can build the batchs cript within Microsoft Excel. An example of a completed Microsoft Excel spreadsheet would look like this.
19102010_55208_1.png
To send the commands to the server, copy all of the cells from the spreadsheet and:
1       Log in as the administrator.
2       Start a new message in the administrator Mailbox and address the message to "batch admin" (no quotes).
3       Begin the body of the message with the word "Reply" so the server will respond back with confirmation or errors after processing the request.
4       Paste the copied cells after the first "Reply" line by using Edit > Paste Plain Text.
19102010_55624_2.png
5       Send the message.
You will receive a reply from the server that will include the userID, first name, last name, and last logged in date of all the users listed in the script.
06092010_122716_1.pngNote
Dates returned as 01/01/04 are an indication that the user has never logged in.