users who logged in over last 12 mos

  • users who logged in over last 12 mos

    Posted by Larry Carrethers on January 19, 2021 at 5:33 pm
    • Larry Carrethers

      Member

      January 19, 2021 at 5:33 PM

      Is there a way to tellĀ  users who logged into GP for the last 12 months without activity monitoring being on?

      ——————————
      Larry Carrethers
      Sr. System Admin/DBA
      Dolese Bros. Co.
      Oklahoma City OK
      ——————————

    • David Musgrave

      Member

      January 20, 2021 at 1:46 AM

      Hi Larry

      Not easily if you don’t have any tracking active. The only thing you could look at is the last user to edit and the modified date on various tables.

      GP Power Tools can track this information, but it does not keep the logs forever as they would get too large.

      Regards

      David

      ——————————
      David Musgrave MVP, GPUG All-Star

      Managing Director
      Winthrop Development Consultants

      Perth, Western Australia

      http://www.winthropdc.com
      ——————————
      ——————————————-

    • Larry Carrethers

      Member

      January 20, 2021 at 4:39 PM

      Is there a way I can pull a report of all users and there security roles in GP?

       

      Larry Carrethers
      Senior System Administrator / DBA
      Information Technology Department
      Phone: +1-405-297-8383
      http://www.dolese.com


      NOTICE OF CONFIDENTIALITY: The information contained in this transmission including any attached documentation is privileged and confidential. It is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copy of this communication is strictly prohibited. If you have received this communication in error, please notify Dolese Bros. Co. immediately by replying to this email,and please delete all copies of this message and any attachments immediately.

      ——————————————-

    • Ryan Galang

      Member

      January 20, 2021 at 4:51 PM

      HI Larry,

      You can try the User Security report.

      ——————————
      Ryan Galang
      BTP Technologies LLC
      CHANTILLY VA
      ——————————
      ——————————————-

    • Blair Christensen

      Member

      January 21, 2021 at 9:43 AM

      You can use this from Victoria Yudin’s website:

      /**
      view_Security_Roles_and_Tasks
      Created Mar 12 2009 by Victoria Yudin - Flexible Solutions, Inc.
      For updates see https://victoriayudin.com/gp-reports/
      Shows all security roles and tasks by user by company
      **/

      SELECT S.USERID UserID
      , U.USRCLASS
      , CASE U.UserStatus
      WHEN 1 THEN 'Active'
      WHEN 2 THEN 'Inactive'
      ELSE 'Unknown'
      END as UserStatus
      , U.SQLLoginID
      , S.CMPANYID CompanyID
      , C.CMPNYNAM CompanyName
      , S.SECURITYROLEID
      , coalesce(T.SECURITYTASKID,'') SecurityTaskID
      , coalesce(TM.SECURITYTASKNAME,'') SecurityTaskName
      , coalesce(TM.SECURITYTASKDESC,'') SecurityTaskDescription

      FROM SY10500 S -- security assignment user role
      -- company master
      LEFT OUTER JOIN SY01500 C ON S.CMPANYID = C.CMPANYID
      -- tasks in roles
      LEFT OUTER JOIN SY10600 T ON S.SECURITYROLEID = T.SECURITYROLEID
      -- tasks master
      LEFT OUTER JOIN SY09000 TM ON T.SECURITYTASKID = TM.SECURITYTASKID
      -- users
      LEFT OUTER JOIN SY01400 U on S.USERID = U.USERID
      --where S.USERID = 'MICHAELEV'
      where T.SECURITYTASKID LIKE 'INQ_FIN_004%'

      ——————————
      Blair Christensen
      Database Administrator
      Oppenheimer Companies, Inc.
      Boise Idaho GPUG Chapter Leader
      ——————————
      ——————————————-

    • Larry Carrethers

      Member

      January 21, 2021 at 10:01 AM

      Thank you, this is exactly what I was looking for.

       

      ——————————————-

    • Blair Christensen

      Member

      January 20, 2021 at 9:46 AM

      There is nothing built into GP which will do this, though there are several third party products which could do it.Ā  If you’re really good with Triggers, you could put one on the ACTIVITY or DEX_SESSION tables which logs to your own table.

      ——————————
      Blair Christensen
      Database Administrator
      Oppenheimer Companies, Inc.
      Boise Idaho GPUG Chapter Leader
      ——————————
      ——————————————-

    Larry Carrethers replied 4 years, 7 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘users who logged in over last 12 mos’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!