Welcome to the Atlassian Community!
I am sorry that I do not quite understand the question, and need to ask for a bit more detail.
What "login details" are you looking for?
When someone logs into Jira, Jira uses the configured identity provider system(s) to ask the user to uniquely identify themselves, so that it knows that the account logged into belongs to the person logging in.
In the basic case, all you really have available is "this account can log in", "unique ID for this account (with associated display name and email)" and "has logged in".
You can then go off and ask the IDP for more detail about the account in SR, but what you can extract from that depends entirely on the IDP and how it's been integrated.
So, could you clarify "login details" for us?
Login details is what administrators can see when they hit "User management" -> "Users". Is there a way to get this information on the screenshot? with scriptrunner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the LoginManager class to accomplish this. Here's an example that returns the login count of the supplied user:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.