You can define regular expressions to discover the user accounts based on unique patterns of display names. For example, you can define regular expressions to discover all user accounts that contain a particular department name within their display name.
When you configure to add user accounts that match regular expressions, any user account that matches the wildcard expressions are automatically added to the associated user-defined subclient. If a user account does not match any expressions, the software adds the account to the default subclient.
The following table provides some examples of regular expressions:
Example |
Description |
---|---|
user |
Auto-discovers any user account display name that begins with user followed by any number of any characters (for example, user abc , user 123, and so on). |
user_group? |
Auto-discovers any user account display name that begins with user_group followed by any one character (for example, user_groupA, user_group1, and so on). |
[JT]im |
Auto-discovers any user account display name that begins with J or T and ends with im (for example, Jim, Tim). |
[a-k]Lee |
Auto-discovers any user account display name that begins with any character in the range of a through k inclusive and that ends with Lee (for example, aLee, bLee, and so on) |
[A-K]* |
You can also use a combination of wildcards in a single expression, if the wildcards are supported for the type of operation you are performing. For example, you can auto-discover all user accounts that display names beginning with any characters in the range of A through K inclusive followed by any number of any characters. |
[A-Z]*[ ][A-E][A-Z]* |
To skip the entire first name, find the first space and then discover users with last name beginning with the letters A through E. |
Procedure
-
From the navigation pane, click Protect > Applications > G Suite.
The G Suite apps page appears.
-
Click an app.
The app page appears.
-
In the Subclients section, click the user-defined subclient to add user accounts for.
The user-defined subclient page appears.
-
In the Content section, click Manage.
The Subclient content dialog box appears.
-
To define a regular expression, perform the following steps:
-
Click Add rule.
The Add rule dialog box appears.
-
In the Regular Expression box, type a regular expression or a wildcard pattern that you want to configure.
-
Click Add.
During an auto discovery operation, the newly discovered user accounts for which the display names match the pattern are assigned to this subclient.
To add additional regular expressions, repeat the steps above.
-
-
Click OK.
What to Do Next
Run a backup operation on the user-defined subclient to back up the user accounts are automatically added to the subclient based on the regular expressions that you configured. For instructions, see Backing Up Gmail and Google Drive.