drupalr.logout: Logout of a Drupal site

Description Usage Arguments Author(s) Examples

Description

Used to logout of a Drupal website at the end of a session, or to change users.

Usage

1
drupalr.logout(d_url, c)

Arguments

d_url

The base URL of the Drupal site.

c

A CURL object containing the session to be logged out.

Author(s)

Ed Baker

Examples

1
2
3
4
5
6
7
8
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function(d_url, c) {
  getURL(paste(d_url,"user/logout"), curl = c)
}

edwbaker/DrupalR documentation built on May 15, 2019, 11:04 p.m.