new(...)
: Initialize a new user object. Do not call this directly; see 'Initialization' below.
delete(confirm=TRUE)
: Delete a user account. By default, ask for confirmation first.
update(...)
: Update the user information in Azure Active Directory.
do_operation(...)
: Carry out an arbitrary operation on the user account.
sync_fields()
: Synchronise the R object with the app data in Azure Active Directory.
list_group_memberships()
: Return the IDs of all groups this user is a member of.
list_object_memberships()
: Return the IDs of all groups, administrative units and directory roles this user is a member of.
list_direct_memberships(id_only=TRUE)
: List the groups this user is a direct member of. Set id_only=TRUE
to return only a vector of group IDs (the default), or id_only=FALSE
to return a list of group objects.
list_owned_objects(type=c("user", "group", "application", "servicePrincipal"))
: List directory objects (groups/apps/service principals) owned by this user. Specify the type
argument to filter the result for specific object type(s).
list_created_objects(type=c("user", "group", "application", "servicePrincipal"))
: List directory objects (groups/apps/service principals) created by this user. Specify the type
argument to filter the result for specific object type(s).
list_owned_devices()
: List the devices owned by this user.
list_registered_devices()
: List the devices registered by this user.
`reset_password(password=NULL, force_password_change=TRUE): Resets a user password. By default the new password will be randomly generated, and must be changed at next login.