< Back
Get-MyUserObjectId
Post
NAME Get-MyUserObjectId
SYNOPSIS
Gets the current user (from Get-AzureRmContext) AD object ID.
SYNTAX
DESCRIPTION
Gets the current user (from Get-AzureRmContext) AD object ID.
This ObjectId is the baseline for any function that adds AAD principals or users to anything in Azure, making this
a very handy method to have nearby.
PARAMETERS
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
RELATED LINKS
SYNOPSIS
Gets the current user (from Get-AzureRmContext) AD object ID.
SYNTAX
DESCRIPTION
Gets the current user (from Get-AzureRmContext) AD object ID.
This ObjectId is the baseline for any function that adds AAD principals or users to anything in Azure, making this
a very handy method to have nearby.
PARAMETERS
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
RELATED LINKS