Name

get_current_user

Synopsis

string get_current_user(  )

Returns the name of the user under whose privileges the current PHP script is executing.

Get Programming PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.