API Documentation

\google\appengine\api\users\UserServiceUtil

FINAL

Constants

HTTP_X_APPENGINE

Methods

getUserEnvironmentVariable

STATIC   

getUserEnvironmentVariable(string $var_name) : \google\appengine\api\users\The

Retrieve an environment variable specifically for the UserService.

Under managed VMs, the UserService environment variables are sent as HTTP headers with the prefix 'HTTP_XAPPENGINE'. This function first checks if the environment variable is set, and if not checks if it is set with the prefix string.

Parameters

Name Description

$var_name

string

The variable name to check.

Returns

\google\appengine\api\users\The

environment value, or false if not found.

Send feedback about...

App Engine standard environment for PHP