1.12.x drupal.inc drupal_anonymous_user()
1.10.x drupal.inc drupal_anonymous_user()
1.11.x drupal.inc drupal_anonymous_user()
1.7.x drupal.inc drupal_anonymous_user()

Generates a default anonymous $user object.

Deprecated

since 1.0.0

See also

backdrop_anonymous_user()

Related topics

File

includes/drupal.inc, line 337
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_anonymous_user() {
  return backdrop_anonymous_user();
}