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
0 answers

Over the last day or so we have been seeing this pop up under the exchange header in adaxes portal. cmdlet Get-CASMailbox is not present in the role definition of the current user

asked Jul 3, 2023 by Jeff.Briand (60 points)
0 votes
1 answer

I need a way of triggering a business rule based on the user (and not the group) being added or removed from a group. The reason I would like this triggered on the user is so ... prefer not to do that. I am checking to see if there is another way to do this.

asked May 16, 2023 by mark.it.admin (2.3k points)
3,326 questions
3,026 answers
7,727 comments
544,681 users