How do i modify all users in a domain, How do i delete all users in a domain – Google Message Security Troubleshooting Guide User Manual
Page 20

Frequently Asked Questions 21
How do I modify all users in a domain?
To make changes to all users you will need to adjust the individual user records,
as well as the default user (the template for new user creation). This is performed
most efficiently by creating a batch file using the modifyuser command:
1.
Go to Orgs and Users > Users and select your Account org from the Choose
Org pull-down list.
2.
Type in the “%” character and then the domain name and select Search.
3.
This performs a search across all of your organizations for user addresses
using that domain, returning the first 15,000 users.
4.
Select Download User/Settings.
5.
Select and copy all of the lines that have email addresses on them.
6.
Open a text editor (if using Microsoft Untapped, turn word-wrap off) and paste
the text. Save the file using the file extension “.csv”.
7.
Using a standard spreadsheet program, such as Microsoft Excel, open the
.csv file saved in step 5.
a.
Delete all columns except the one containing the email addresses.
b.
Add a column to the left of the addresses column.
c.
Fill that column with the word: modifyuser
d.
In as many columns as necessary to the right of the addresses column,
type in field=value pairs.
e.
Save the file again as a .csv file.
8.
Load the file created in step 6 into a text editor and replace all occurrences of
“modifyuser” with “modifyuser”. Save result as a .txt file.
9.
You can now validate this file and upload it as a batch file. See
Batch Processing” in the Batch Reference Guide
the batch command.
How do I delete all users in a domain?
Use the steps in the “How do I modify all users in a domain?” FAQ to create a
batch file which uses the deleteuser batch command instead of the modifyuser
command.