Skip to content

How to get the current context user name #578

Answered by ToddKlindt
SP-Support asked this question in Q&A
Discussion options

You must be logged in to vote

I use this to see who is connected to M365, (Get-PnPConnection | select -ExpandProperty pscredential).username

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@cwalexlai
Comment options

@ToddKlindt
Comment options

@cwalexlai
Comment options

@marcoscheel
Comment options

@mpowney
Comment options

Answer selected by veronicageek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants