Name Policies

Name policies define requirements and restrictions on names, such as user account IDs and device IDs. Typically, you want to restrict such names to a certain set of characters, such as "MyUserID_42", etc.

Name policies are defined in the Name policies tab in the Organisation → Organisation view.

An organisation has a default user account ID policy defined in the service ("Server") scope. To define a policy


Adding a Name Policy

  1. Select the Name policies tab, as shown above. A list of currently active policies is displayed. 
  2. Click Add to add and define new policies. The Name policy editor pop-up illustrated below should open.

    You can make the following settings for a name policy:
    • Type: Select the type of policy from the drop-down list
    • Minimum length: Define the maximum character length for the policy name
    • Maximum length:Define the minimum character length for the policy name
    • Allowed characters (regex): Define the allowed characters for names. The value must be a bracket expression that is used to match each character in the name with a regular expression. A bracket expression is essentially a list of allowed characters, but there is some additional notation. You must use the Java syntax, not POSIX. You can define ranges with a dash, such as "a-z", "A-Z", or "0-9". With the "\p{}" notation, you can use predefined character sets, such as \p{Alnum}\p{Alpha}\p{ASCII}, \p{Blank}, \p{Cntrl}, \p{Digit}, \p{Graph}, \p{Lower}, \p{Print}, \p{Punct}, \p{Space}, \p{Upper}, and \p{XDigit}. (Hint: You can hover the mouse over the text field for further info on allowed input).
    • Forbidden characters (regex): Define the characters that are not allowed in names. The syntax is as above.
    • Test: Enter a name to test against the policy. The test is evaluated when you move input focus out from the text field.
    • Description: You need to give a verbal description of the name restrictions. The description is shown to users when they enter the name.

  3. Click Apply to save or Cancel to close the pop-up window. (Note: If a name policy is not defined, an error message may appear. You can click Cancel to exit without saving the policy.).

Editing and Deleting Name Policies

To edit an existing policy, select it and click the Edit button.

To delete a name policy, select it and click Remove to delete it.