FOSSology
4.4.0
Open Source License Compliance by Open Source Software
UserInfo.php
Go to the documentation of this file.
1
<?php
2
/*
3
SPDX-FileCopyrightText: © 2014 Siemens AG
4
5
SPDX-License-Identifier: GPL-2.0-only
6
*/
7
8
namespace
Fossology\Lib\Application
;
9
19
class
UserInfo
20
{
21
26
public
function
getUserId
()
27
{
28
return
$_SESSION[
'UserId'
];
29
}
30
35
public
function
getGroupId
()
36
{
37
return
$_SESSION[
'GroupId'
];
38
}
39
}
Fossology\Lib\Application\UserInfo
Get user info from session.
Definition:
UserInfo.php:20
Fossology\Lib\Application\UserInfo\getGroupId
getGroupId()
Get the group id from the session.
Definition:
UserInfo.php:35
Fossology\Lib\Application\UserInfo\getUserId
getUserId()
Get the user id from the session.
Definition:
UserInfo.php:26
Fossology\Lib\Application
Utility functions for specific applications.
src
lib
php
Application
UserInfo.php
Generated on Mon Nov 18 2024 07:37:13 for FOSSology by
1.9.1