Skip to content

New GClassroomUserProfileObj

Spencer Varney edited this page Dec 14, 2016 · 3 revisions

New-GClassroomUserProfileObj

SYNOPSIS

Creates a new Classroom API UserProfile object.

SYNTAX

New-GClassroomUserProfileObj [[-EmailAddress] <String>] [[-Id] <String>] [[-Name] <Name>]
 [[-Permissions] <GlobalPermission[]>] [[-PhotoUrl] <String>] [-WhatIf] [-Confirm]

DESCRIPTION

This provides a Cmdlet-Based approach to creating a UserProfile object which may be required as a parameter for some other Cmdlets in the Classroom API category.

You could alternately create this object by calling New-Object -TypeName Google.Apis.Classroom.v1.Data.UserProfile

EXAMPLES

---------- EXAMPLE 1 ----------

PS C:\> New-GClassroomUserProfileObj

This automatically generated example serves to show the bare minimum required to call this Cmdlet.

Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.

PARAMETERS

-EmailAddress

Email address of the user. Read-only.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Id

Identifier of the user. Read-only.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 1
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Name

Name of the user. Read-only.

Type: Name
Parameter Sets: (All)
Aliases: 

Required: False
Position: 2
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Permissions

Global permissions of the user. Read-only.

Type: GlobalPermission[]
Parameter Sets: (All)
Aliases: 

Required: False
Position: 3
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-PhotoUrl

URL of user's profile photo. Read-only.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 4
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

INPUTS

System.String

Email address of the user. Read-only.

System.String

Identifier of the user. Read-only.

Google.Apis.Classroom.v1.Data.Name

Name of the user. Read-only.

Google.Apis.Classroom.v1.Data.GlobalPermission[]

Global permissions of the user. Read-only.

System.String

URL of user's profile photo. Read-only.

OUTPUTS

Google.Apis.Classroom.v1.Data.UserProfile

NOTES

Part of the gShell Project, relating to the Google Classroom API; see Related Links or use the -Online parameter.

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally