// (C) Copyright 2020 Hewlett-Packard Enterprise Company, L.P.
define(['fs/view/users/BaseUsersView', 'hp/core/Localizer', 'jquery', 'hp/lib/jquery.hpStatus'],
function(BaseUsersView, localizer) { "use strict";
    var DirectoryUsersView = (function() {
        /**
         * Constructor
         */
        function DirectoryUsersView() {

            BaseUsersView.call(this,[{
                "sDefaultContent": "",
                "sTitle": localizer.getString('fs.users.master.userNameCol'),
                "mDataProp" : "attributes.user_group_name",
                "sWidth" : "100px"
            },
            {
                "sDefaultContent": "",
                "sTitle": localizer.getString('fs.users.master.directory'),
                "mDataProp" : "attributes.directory_name",
                "sWidth" : "100px"
            },
            {
                "sDefaultContent": "",
                "sTitle": localizer.getString('fs.users.master.type'),
                "mDataProp" : "attributes.directory_type",
                "sWidth" : "100px"
            },
            {
                "sDefaultContent": "",
                "sTitle": localizer.getString('fs.users.master.roleCol'),
                "bSortable": false,
                "mDataProp" : "multiAttributes.roles",
                "sWidth" : "200px"
            }
            ]);
        }
        return new DirectoryUsersView();
    }());

    return DirectoryUsersView;
});
