- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- How to find out the login user information for cus...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 09:46 AM
09-25-2023 09:46 AM
How to find out the login user information for custom reports
Hi All
i am working on creating a custom eport plugin which require a login user information,. with this login user information i need to filter some data, how can i find the login user information ?
for example: User “A” loged in and ran a report, this report is based on a group fliter… if this user does not have access to Group, X and Group Y, that report should give the results without the Group X and Y information.
if i know where to see if User “A” is the one logged then i can write another Query to find what groups he have access to…
Any idea which table we can see if User “A” is logged in or the logged in user name?
- Tags:
- reports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 07:54 AM
09-26-2023 07:54 AM
Re: How to find out the login user information for custom reports
@cbunge Any help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 11:22 AM
09-29-2023 11:22 AM
Re: How to find out the login user information for custom reports
i see a getOwnerOnly function in Morpheus Documentation, Do you know how can i get a logged in user useranme using this function?
Boolean getOwnerOnly() {
return false
}
https://developer.morpheusdata.com/api/com/morpheusdata/model/ReportType.html#ownerOnly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 05:37 AM
09-27-2023 05:37 AM
Re: How to find out the login user information for custom reports
Hi, you will probably need to query the audit_log
table and make a comparison by user looking at event_type column for login#process
and logout#index
event type values.
Any user that does not have logout#index
event in the log, which is time stamped later than the most recent login#process
event, is still logged in.