Announcement

Collapse
No announcement yet.

How can I get the IDs of each user (the userid value) ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I get the IDs of each user (the userid value) ?

    I need to get the id of each user. Is there a way to do that? Thanks!!!

  • #2
    Hello,

    PHP Code:
    $this→getEntityManager()→getRepository('User')→find()→toArray(); 

    Comment


    • #3
      Originally posted by item View Post
      Hello,

      PHP Code:
      $this→getEntityManager()→getRepository('User')→find()→toArray(); 
      Thanks so much !! But how can I run this code? Possibly to run on the UI of the CRM system?
      Last edited by chrisjiang; 01-22-2020, 01:23 PM.

      Comment


      • #4
        you may want something like this,

        Last edited by eymen.elkum; 01-28-2020, 10:07 AM.

        Comment


        • chrisjiang
          chrisjiang commented
          Editing a comment
          This is what I exactly want!!! Thanks you so much for the great help!!

        • esforim
          esforim commented
          Editing a comment
          Hi eymen, just so you know your link still point to "eb**-so**.com/crm/api"

          Please edit your URL if you want to hide it, if it intentional ignore this.

        • eymen.elkum
          eymen.elkum commented
          Editing a comment
          many thanks espocrm
      Working...
      X