Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.36 KB

Get-AnsibleMe.md

File metadata and controls

53 lines (36 loc) · 1.36 KB
external help file Module Name online version schema
Jagabata.psm.dll-Help.xml
Jagabata.psm
2.0.0

Get-AnsibleMe

SYNOPSIS

Retrieve the current user.

SYNTAX

Get-AnsibleMe [<CommonParameters>]

DESCRIPTION

Retrieve the current user.

Implements following Rest API:

  • /api/v2/me/

EXAMPLES

Example 1

PS C:\> Get-AnsibleMe

Id Type Username Email           FirstName LastName IsSuperuser IsSystemAuditor Created             Modified            LastLogin           LdapDn ExternalAccount
-- ---- -------- -----           --------- -------- ----------- --------------- -------             --------            ---------           ------ ---------------
 1 User admin    admin@localhost                           True           False 2023/11/04 16:20:25 2024/08/02 16:26:10 2024/08/02 16:26:10

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

Jagabata.Resources.User

NOTES

RELATED LINKS

Get-AnsibleUser

Find-AnsibleUser