0 votes

Adaxes uses a property pattern file for creating and modifying an user. Is it possible to have a property pattern file for creating or modifying only? I try to achieve the following: e.g. password > required when an user is created but not required when an user is modified...

Remco

by (780 points)

1 Answer

0 votes
by (216k points)

Hello Remco,

First of all, if you don't want to force password change each time a user account is being edited, you can remove the Password field from the page for editing users and use the Reset/Change Password operations whenever you need to change password for a user.


For information on how to remove the Password field, see step 6 in the following tutorial: http://www.adaxes.com/tutorials_WebInte ... tomization.

Also, you can actually have a property treated differently on user creation and on user modification. For this purpose, you need to create two different Property Patterns. One of the property Patterns will contain constraints that need to be applied to the property when a new user is created. For example, if the property is required only on creation, you can mark it as required. For information on how to create a Property Pattern, see the following help article: http://www.adaxes.com/help/?ManagePrope ... ttern.html. On step 10 of the article, you need to assign the Property Pattern over All Objects, excluding the Domain Users groups in all your Active Directory domains from the Activity Scope. The thing is that users are usually automatically added to the Domain Users group of their own domain. However, before a user is created, the user account cannot be a member of any groups. So, excluding the Domain Users group from the Activity Scope, you actually exclude all existing users.

The second Property Pattern will contain constraints for the property to be applied when the property is modified. The Activity Scope of this Property Pattern will contain only the Domain Users groups of your AD domains. That is, the Property Pattern will apply only to existing users.

Related questions

0 votes
1 answer

Hi, Is it possible to modify a property pattern drop down list from the web interface? Thanks.

asked Feb 8, 2018 by bistromath (840 points)
0 votes
1 answer

Hello, I'm using property pattern for few things, and i just noticed that all my property pattern are applied on user creation (i don't want it to) Is there a way to "disable" property pattern on user creation ?

asked May 6, 2016 by Alexandre (460 points)
0 votes
1 answer

Dear Support, is there a way to check not all attributes listed in the pattern, but only 1? For example user department not matching a list, provided in the pattern ... department and creating a separate pattern is really not an option). Thanks for any advise!

asked May 5, 2020 by Dmytro.Rudyi (920 points)
0 votes
0 answers

As the title mentions, I'm trying to figure out a way to have HR apply multiple modifications on a user's account (change of position, title, department, phone, etc...) ... phone number (in the same form), it sends two approval requests. Thanks for your help!

asked Jan 26, 2022 by lw.fa (130 points)
0 votes
1 answer

I'm trying to use "Before Modify Office 365" event to request approval for changes. It seems to be kicking off for the "After Create User" event. How do I request ... for default settings but if admins want to make a change then it goes out for approval.

asked Jul 20, 2020 by ComputerHabit (790 points)
3,347 questions
3,047 answers
7,786 comments
545,034 users