onCreate-user-set-default-fields.js revision bcabf58f014780d0080c944621a579b77ada2d31
1821N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 1821N/A * Copyright (c) 2011-2014 ForgeRock AS. All rights reserved. 1821N/A * The contents of this file are subject to the terms 1821N/A * of the Common Development and Distribution License 2362N/A * (the License). You may not use this file except in 1821N/A * compliance with the License. 1821N/A * You can obtain a copy of the License at 1821N/A * See the License for the specific language governing 1821N/A * permission and limitations under the License. 1821N/A * When distributing Covered Code, include this CDDL 1821N/A * Header Notice in each file and include the License file 1821N/A * If applicable, add the following below the CDDL Header, 1821N/A * with the fields enclosed by brackets [] replaced by 1821N/A * your own identifying information: 2362N/A * "Portions Copyrighted [year] [name of copyright owner]" 1821N/A * This script sets default fields. 1821N/A * It forces that user role is openidm-authorized and account status 1821N/A * It is run every time new user is created.