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
1 answer

In this case the working example would be that the user would need to add a new title into a list of titles in the title property pattern

asked Dec 13, 2024 by msheppard (840 points)
0 votes
1 answer

The use case we are looking for is providing a list of titles for users to choose from when initiating a re-hire. We already have a title property pattern established and would ... that we can manage the list in one place. Let me know and as always, thanks.

asked Nov 22, 2024 by msheppard (840 points)
3,742 questions
3,420 answers
8,641 comments
1,391 users