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