Jump to content


Export user list?


  • Please log in to reply
3 replies to this topic

#1 benchang

benchang

    Member

  • Members
  • PipPip
  • 13 posts

Posted 07 October 2020 - 04:05 AM

Is there a way to export the users list from Helix Admin?  I'd like to email all the users on the server, so would like to get their names and emails as something like a CSV.

#2 Sambwise

Sambwise

    Advanced Member

  • Members
  • PipPipPip
  • 1191 posts

Posted 07 October 2020 - 02:59 PM

Use the command line:

% p4 -F %user%,%email% users
Samwise,Samwise@host
bob,bob@Samwise-dvcs-1509687817


#3 Matt Janulewicz

Matt Janulewicz

    Advanced Member

  • Members
  • PipPipPip
  • 230 posts
  • LocationSan Diego, CA

Posted 20 October 2020 - 05:42 AM

Protip for the future: Use Perforce's built-in LDAP for auth using a mail-enabled master user list. Boom, done.
-Matt Janulewicz
Currently unemployed, looking for work in Boise, ID!

#4 benchang

benchang

    Member

  • Members
  • PipPip
  • 13 posts

Posted 25 October 2020 - 06:19 PM

EDIT - thanks, that worked.  Is there a list of the attribute names that work with that command?  Can something like
p4 -F %user%,%email%,%accessed% users
also give me last-accessed time?

@Matt Janulewicz - that's interesting, we are using LDAP, so maybe this is simpler than I thought!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users