---
title: "admGetUserLogin"
canonical: "https://support.appfire.com/space/PSCONF/1460600888/admGetUserLogin"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | admGetUserLogin(userNameOrKey) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Retrieves user login info.

Retrieves user login info.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | userNameOrKey | String | Yes | The key of the Confluence user or user key |

## Return Type

[**CLogin**](https://appfire.atlassian.net/wiki/spaces/PSCONF/pages/15303915)

Returns CLogin struct

## Example

```javascript
return admGetUserLogin("admin");
```

Retrieves user login info with key "admin"

## See also

> Macro (contentbylabel)