User retrieves the current user.
()
| 99 | |
| 100 | // User retrieves the current user. |
| 101 | func (s *SessionData) User() username.SQLUsername { |
| 102 | return s.UserProto.Decode() |
| 103 | } |
| 104 | |
| 105 | // SystemIdentity retrieves the session's system identity. |
| 106 | // (Identity presented by the client prior to identity mapping.) |