sp_users: Retrieve SharePoint users

View source: R/sharepoint_users.R

sp_usersR Documentation

Retrieve SharePoint users

Description

Retrieve all SharePoint users of the given site

Usage

sp_users(con, ..., .filter = NULL)

Arguments

con

A SharePoint connection returned by sp_connection()

...

Filters

filter

A Character string containing valid SharePoint filters (for example: LoginName eq Username1)

Value

User information as a dataframe

Examples

sp_con = sp_connection("https://yourdomain.sharepoint.com", "YourUsername", "YourPassword", Office365 = T)
user = sp_users(sp_con, LoginName = "Username1")

LukasK13/sharepointr documentation built on Jan. 9, 2023, 12:22 p.m.