function activeUserInfo(){
            var username = this.username;
            var sessionCount = 0;
            activeUsers = XNAT.data['/xapi/users/active'];
            if (username && activeUsers && activeUsers[username] && activeUsers[username].sessions.length) {
                sessionCount = activeUsers[username].sessions.length
            }
            if (sessionCount) {
                return spawn('!', [
                    ['i.hidden.sorting', zeroPad(sessionCount, 6)],
                    ['a.active-user', {
                        title: username + ': kill ' + sessionCount + ' active session(s)',
                        href: '#!',
                        style: { display: 'block', padding: '2px' }
                    }, [['img', { src: XNAT.url.rootUrl('/images/cg.gif') }]]]
                ])
            }
            else {
                return '<i class="hidden">-1</i>&mdash;'
            }
        }
// renders cells for 'active' users column
renders cells for 'active' users column
renders cells for ' active ' users column
function activeUserInfo(){
            var username = this.username;
            var sessionCount = 0;
            activeUsers = XNAT.data['/xapi/users/active'];
            if (username && activeUsers && activeUsers[username] && activeUsers[username].sessions.length) {
                sessionCount = activeUsers[username].sessions.length
            }
            if (sessionCount) {
                return spawn('!', [
                    ['i.hidden.sorting', zeroPad(sessionCount, 6)],
                    ['a.active-user', {
                        title: username + ': kill ' + sessionCount + ' active session(s)',
                        href: '#!',
                        style: { display: 'block', padding: '2px' }
                    }, [['img', { src: XNAT.url.rootUrl('/images/cg.gif') }]]]
                ])
            }
            else {
                return '<i class="hidden">-1</i>&mdash;'
            }
        }
function activeUserInfo ( ) { var username = this . username ; var sessionCount = 0 ; activeUsers = XNAT . data [ '/xapi/users/active' ] ; if ( username && activeUsers && activeUsers [ username ] && activeUsers [ username ] . sessions . length ) { sessionCount = activeUsers [ username ] . sessions . length } if ( sessionCount ) { return spawn ( '!' , [ [ 'i.hidden.sorting' , zeroPad ( sessionCount , 6 ) ] , [ 'a.active-user' , { title : username + ': kill ' + sessionCount + ' active session(s)' , href : '#!' , style : { display : 'block' , padding : '2px' } } , [ [ 'img' , { src : XNAT . url . rootUrl ( '/images/cg.gif' ) } ] ] ] ] ) } else { return '<i class="hidden">-1</i>&mdash;' } }
renders cells for 'active' users column
renders cells for ' active ' users column