Can I get login information (list) of invited users?
For example, information such as last login date and 30 days not logged in.
If possible, can you tell me how to get it?
Not invited, that just sends an email without recording a new user (as they may never log in, there's no point)
But active users are listed in the user section of the admin menus. You might want to look at the sessions section too.
You can get this information by SQL query to Confluence Database.
Here is a User Macro as a little help
## Macro title: Last Login## Macro has a body: N## Body processing: Selected body processing option## Output: Selected output option#### Developed by: Andrew Frayling## Date created: 11/02/2012## Installed by: repi## Macro to display the last login date of users who have access to the current space## @noparams#set($containerManagerClass = $content.class.forName('com.atlassian.spring.container.ContainerManager'))#set($getInstanceMethod = $containerManagerClass.getDeclaredMethod('getInstance',null))#set($containerManager = $getInstanceMethod.invoke(null,null))#set($containerContext = $containerManager.containerContext)#set($loginManager = $containerContext.getComponent('loginManager'))#set($users = $userAccessor.getUsers())<table class="confluenceTable"><tr><th class="confluenceTh">User</th><th class="confluenceTh">Last Successful Login</th></tr>#foreach($user in $users)## list the last login date of users who can view the current space#if ($permissionHelper.canView($user, $space))<tr><td class="confluenceTd">#usernameLink($user.name)</td>#if (!$loginManager.getLoginInfo($user).lastSuccessfulLoginDate)<td class="confluenceTd" style="background-color:#ff0000"><strong>NEVER</strong></td>#else<td class="confluenceTd">$action.dateFormatter.formatDateTime($loginManager.getLoginInfo($user).lastSuccessfulLoginDate)</td>#end</tr>#end#end</table>
It looks like you're new here. Sign in or register to get started.