Find user by name or email? #408
Answered
by
wimg-bstuckey
wimg-bstuckey
asked this question in
Q&A
-
How do i find a user by name or email? I tried using |
Beta Was this translation helpful? Give feedback.
Answered by
wimg-bstuckey
Jan 24, 2022
Replies: 1 comment
-
Figured it out i was using $us = new UserService();
$paramArray = [
'username' => '.', // get all users.
'startAt' => 0,
'maxResults' => 1000,
'includeInactive' => true,
//'property' => '*',
];
// get the user info.
$users = $us->findUsers($paramArray); switched it to $us = new UserService();
$paramArray = [
'query' => 'name/username/email'
];
// get the user info.
$users = $us->findUsers($paramArray); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wimg-bstuckey
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Figured it out i was using
findUsers
incorrectly the example hasswitched it to