Did you know ... Search Documentation:
Pack blog_core -- prolog/bc/bc_api_actor.pl
PublicShow source
 bc_set_actor(+User) is det
Sets thread-local for the current user. Must be called from the REST handlers.
 bc_actor(-User) is det
Retrieves the current API user. Throws error(no_actor_set) when no user is set.
 bc_unset_actor is det
Unsets the author thread-local. Must be called from the REST handlers.