0 votes

Dear support,

Property patterns for date are currently barely usable. You can define that the value must be:
- One of the following values only
- Must not contains the following values

I can't thing of any real use case for such condition with fields like accountExpires & the likes; enumerating valid options is nearly impossible and suboptimal. It would be in my opinion way better to have comparison based conditions like:
- AccountExpires cannot exceed %datetime%+3
- AccountExpires cannot be before %datetime%

We are currently doing those checks using a business rules, but it would look cleaner if the property pattern could handle that natively.

Cheers !

by (750 points)

1 Answer

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

Hello Pierre,

Thank you for the suggestion, we will consider it for future releases of Adaxes.

You are right, currently, this can be done only using Business Rules. As another option, you can specify a template for generating the default Account Expires value and remove the property from the user creation form in Adaxes Web Interface. For details, have a look at the following tutorials:
https://www.adaxes.com/tutorials_Simpli ... wUsers.htm
https://www.adaxes.com/tutorials_WebInt ... diting.htm

Related questions

0 votes
1 answer

Dear support, I would like to make sure that the account expiration date for an account is between today & 3 months from now. In the property pattern I am able to define a ... you don't need to provide that to me, it is just a feature request :-) Thanks

asked Jul 30, 2015 by Pierre (750 points)
0 votes
1 answer

Hello, I noticed that if you target the same scope with more than one property pattern, the oldest one will apply for conflicting attributes. As I am doing some inheritance ( ... is used for replacement by adaxes. Do you have a workaround for this? Thank you

asked May 27, 2013 by Pierre (750 points)
0 votes
1 answer

Hello Again, We are experiencing a few issues with Exchange 2003: - When the primary mail address is changed, the mail attribute is not updated I could workarround ... uncommited data would solve this issue and add flexibility. Thank you in advance Pierre

asked Sep 13, 2013 by Pierre (750 points)
0 votes
0 answers

I'm troubleshooting a weird issue with the "Create User" form and the business rules behind it. The error that's being returned is that the "Company" property doesn't ... a hard time understanding why this one value would fail. Thoughts? Thank you, -Todd

asked Jul 10, 2023 by TAE (70 points)
0 votes
1 answer

the script repo examples are almost entirely written in ADSI, however powershell is now far more widely used, is it possible to have all scripts written in both ADSI and powershell.

asked Jan 5 by i*windows (140 points)
3,326 questions
3,026 answers
7,727 comments
544,678 users