Avoid using UserInfo.GetSessionId()

< 1 min read

Impact Area

Security

 

Severity

High

 

Affected Element

Apex Class (APPCL)

 

Rule ID #

SF-AVOID-USERINFO-GETSESSIONID

Impact #

Security-sensitive information may be exposed.

Remediation #

Ensure that its use is needed or remove it.

Time to fix

30 min

Updated on March 21, 2025
Table of contents
Was it helpful ?