Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_Classroom_UserProfiles_Resource Class Reference

The "userProfiles" collection of methods. More...

Inheritance diagram for Google_Service_Classroom_UserProfiles_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($userId, $optParams=array())
 Returns a user profile.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "userProfiles" collection of methods.

Typical usage is: $classroomService = new Google_Service_Classroom(...); $userProfiles = $classroomService->userProfiles;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ get()

Google_Service_Classroom_UserProfiles_Resource::get ( $userId,
$optParams = array() )

Returns a user profile.

This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to access this user profile or if no profile exists with the requested ID or for access errors. (userProfiles.get)

Parameters
string$userIdIdentifier of the profile to return. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal "me", indicating the requesting user
array$optParamsOptional parameters.
Return values
Google_Service_Classroom_UserProfile

The documentation for this class was generated from the following file: