users-gd/Blue Print - users.js
/**
 * Adds a custom menu to the active spreadsheet.
 * The onOpen() function, when defined, is automatically invoked whenever the
 * spreadsheet is opened.
 * For more information on using the Spreadsheet API, see
 * https://developers.google.com/apps-script/service_spreadsheet
 */
Adds a custom menu to the active spreadsheet.
The onOpen() function, when defined, is automatically invoked whenever the
spreadsheet is opened.
Adds a custom menu to the active spreadsheet . The onOpen () function when defined is automatically invoked whenever the spreadsheet is opened .
function onOpen() {
    var spreadsheet = SpreadsheetApp.getActiveSpreadsheet();
    var entries = [
        {
            name : 'Create Users (JSON)',
            functionName : 'createSingleJSON'
        },
        {
            name : 'Create userGroups (XML)',
            functionName : 'XMLuserGroups'
        },
        {
            name : 'Update userGroups (post)',
            functionName : 'postUserGroups'
        },
        {
            name : 'Update userSettings (post)',
            functionName : 'postUserSettings'
        }
    ];
    spreadsheet.addMenu('Script Menu', entries);
}
function onOpen ( ) { var spreadsheet = SpreadsheetApp . getActiveSpreadsheet ( ) ; var entries = [ { name : 'Create Users (JSON)' , functionName : 'createSingleJSON' } , { name : 'Create userGroups (XML)' , functionName : 'XMLuserGroups' } , { name : 'Update userGroups (post)' , functionName : 'postUserGroups' } , { name : 'Update userSettings (post)' , functionName : 'postUserSettings' } ] ; spreadsheet . addMenu ( 'Script Menu' , entries ) ; }
Adds a custom menu to the active spreadsheet.
Adds a custom menu to the active spreadsheet .
//functionName : 'createUserGroups' //functionName : 'createUserGroups' //functionName : 'userSettings'