Get-MgEducationMeUser
Retrieve the simple directory user that corresponds to this educationUser.
Note
To view the beta release of this cmdlet, view Get-MgBetaEducationMeUser
Syntax
Get-MgEducationMeUser
[-ExpandProperty <String[]>]
[-Property <String[]>]
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[<CommonParameters>]
Description
Retrieve the simple directory user that corresponds to this educationUser.
Permissions
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | EduRoster.ReadBasic and User.Read | EduRoster.Read and User.Read, EduRoster.Write and User.Read, EduRoster.Read and Directory.Read.All, EduRoster.Write and Directory.Read.All |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | EduRoster.Read.All and Directory.Read.All | EduRoster.ReadWrite.All and Directory.Read.All |
Examples
Example 1: Code snippet
Import-Module Microsoft.Graph.Education
Get-MgEducationMeUser
This example shows how to use the Get-MgEducationMeUser Cmdlet.
Parameters
-ExpandProperty
Expand related entities
Type: | String[] |
Aliases: | Expand |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Headers
Optional headers that will be added to the request.
Type: | IDictionary |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ProgressAction
{{ Fill ProgressAction Description }}
Type: | ActionPreference |
Aliases: | proga |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Property
Select properties to be returned
Type: | String[] |
Aliases: | Select |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResponseHeadersVariable
Optional Response Headers Variable.
Type: | String |
Aliases: | RHV |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
System.Collections.IDictionary
Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphUser