getUser

On this page
Back to index

Summary

Retrieves information about a user.
userName
Stringrequired
The user name.
providerName
Stringoptional
The name of the provider from which to get the user.
registerLDAPUser
Booleanoptional
Set to 0 or false to show user without register LDAP user in the EF system.
traverseHierarchy
Booleanoptional
Set to 0 or true to include parent groups in the result if this is an LDAP user and recursive traversal of group hierarchy is enabled for the directory provider.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getUser( userName: "test-userName" /* optional arguments */ )