reset password
Author Message
aligh1979
Posts: 121
Posted 22:16 Oct 27, 2011 |

where we should look for , or what is the best way to get  the current logged-in  user in csns2 ?

cysun
Posts: 2935
Posted 23:02 Oct 27, 2011 |

SecurityUtils.getCurrentUser()

Quite a few controllers are using it, e.g. DownloadController, student/UploadFileController.