0 votes

Hello

The danish/norwegian letter "Ø" is not handled correctly in Adaxes.
Even if regexp is set to ^[A-Z] , it's still possible for the user to enter and use the letter "Ø" in their initials and User logon name.

The letters are handled correctly in powershell scripts, so as for now, we use scripts to ensure that the letters are not used in initials or user logon names.

Unicodes are:
- "Ø" = U+00d8 (upper case)
- "ø" = U+00f8 (lower case)

- Thanks

by (2.6k points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

Regular expressions are handled correctly in Adaxes. The issue is actually in your regular expression :)

The regexp that you have checks only the 1st character, all other characters are ignored. Also, it allows only UPPERCASE letters. You can use one of the following regular expressions:

  • ^[A-Z]+$ - check all characters, allow only UPPERCASE letters;
  • ^[a-zA-Z]+$ - check all characters, allow both uppercase and lowercase letters;
  • ^[A-Z]{1}[a-z]+$ - check all characters, the 1st character must be upper case;
  • ^[A-Z]{1}[a-z ]+$ - the same as above, but also allows a blank space.

Related questions

0 votes
1 answer

Hello! I am creating a scheduled task, which in pseudocode does the following: 1st action: If account is locked AND if extensionattribute6 is empty send email to the locked account set ... of my DC's, the value is correct. How do I work around this? Thanks!

asked Aug 19, 2014 by Erlend (160 points)
0 votes
1 answer

Here are the actrions of the custom command. Here are the parameters. Need a script to copy the param user's file path for home drive example: Param user's home drive ... ) should be //server1/homedirs/%username%. Then give the user full control of the folder.

asked Feb 8, 2023 by mightycabal (1.0k points)
0 votes
1 answer

I have a script in the condition "If PowerShell script returns true". For some reason the conditions in the script is not evaluated correctly. Condition Script Log As you can see, the log ... , 2015 4:00:00 PM and Today is Tuesday, August 04, 2015 7:48:40 AM.

asked Aug 4, 2015 by sdavidson (730 points)
0 votes
1 answer

I have a report scheduled to run weekly with the following delivery options: There are 3 recipients on this report. For 2 of these recipients, the report is successfully ... following: But the email is still not delivered to that third recipient. Any thoughts?

asked Aug 21 by msinger (210 points)
0 votes
0 answers

I have applied a security role to a group at the top of a Business Unit Container and set it to apply to the subtree and it does, all Containers and Business Units do ... Unit. Did I apply the permissions wrong or is there some setting I need to change?

asked Aug 9 by ajmilic (100 points)
3,588 questions
3,277 answers
8,303 comments
548,090 users