Skip to content

Add occ command for getting User ID(s) for a given email addr… - #44334

Open
stellarpower wants to merge 1 commit into
nextcloud:masterfrom
stellarpower:stellarpower.AddFeature.Commands.GetUserFromEmail
Open

Add occ command for getting User ID(s) for a given email addr…#44334
stellarpower wants to merge 1 commit into
nextcloud:masterfrom
stellarpower:stellarpower.AddFeature.Commands.GetUserFromEmail

Conversation

@stellarpower

Copy link
Copy Markdown

Summary

Adds an occ command for getting the user ID(s) from an email address. Uses the user manager to lookup the email address, and returns a list of users if they have this address listed.

Uploading so that the community can benefit from contributions, but please do feel free to pull into a feature branch and rework or modify heavily and use as a springboard. This solved a particular usecase I had so figured may be useful.

TODO

  • I'm by no means a PHP developer, so there may be significant defects.
  • Don't have the ability to test against current master; slight modifications and it appears to work on my installed server, running NC 21, but would need to be tested properly against master code.

Checklist

@stellarpowerstellarpower changed the title Add occ command for getting a (the) User ID(s) for a given email addr…Add occ command for getting User ID(s) for a given email addr…Mar 19, 2024
@susnuxsusnux added this to the Nextcloud 30 milestone Apr 18, 2024
This was referenced Jul 30, 2024
This was referenced Aug 5, 2024
@skjnldsvskjnldsv mentioned this pull request Aug 13, 2024
@blizzzblizzz mentioned this pull request Jan 8, 2025
This was referenced Jan 14, 2025
This was referenced Jan 21, 2025
@blizzzblizzz mentioned this pull request Jan 29, 2025
1 task
@blizzzblizzz modified the milestones: Nextcloud 31, Nextcloud 32Jan 29, 2025
This was referenced Aug 22, 2025
This was referenced Sep 2, 2025
@nextcloud-botnextcloud-bot mentioned this pull request Sep 10, 2025
@nextcloud-botnextcloud-bot mentioned this pull request Sep 18, 2025
This was referenced Sep 25, 2025
@skjnldsvskjnldsv removed this from the Nextcloud 32 milestone Sep 28, 2025
@skjnldsvskjnldsv added this to the Nextcloud 33 milestone Sep 28, 2025
This was referenced Jan 7, 2026
This was referenced Jan 14, 2026
@nextcloud-botnextcloud-bot mentioned this pull request Jan 22, 2026
This was referenced Jan 29, 2026
This was referenced Feb 11, 2026
@blizzzblizzz modified the milestones: Nextcloud 33, Nextcloud 34Feb 16, 2026
@DorraJaouad
DorraJaouad requested a review from a team as a code ownerApril 23, 2026 09:41
@DorraJaouad
DorraJaouad requested review from Altahrim, icewind1991, salmart-dev and sorbaugh and removed request for a teamApril 23, 2026 09:41
@nextcloud-botnextcloud-bot mentioned this pull request May 27, 2026
@nextcloud-botnextcloud-bot mentioned this pull request Jun 4, 2026
This was referenced Jun 5, 2026
@susnuxsusnux added the community pull requests from community label Jun 9, 2026
@susnuxsusnux removed this from the Nextcloud 34.0.1 milestone Jun 9, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developingWork in progresscommunitypull requests from communityenhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@stellarpower@joshtrichards@susnux@blizzz@skjnldsv@nextcloud-bot