/** * Determines if this session has the named role in this application! * * @param sRoleName * @return true if the session has the role */ public boolean hasUserRole(String sRoleName) { return m_SessCtx.hasUserRole(m_rPath.getPathToApplication(), sRoleName); }
/** * Determines if this session has the named role in the named application * * @param sAppPath eg "/group/app.pma" * @param sRoleName eg "Manager" * @return true if the session has the role */ public boolean hasUserRole(String sAppPath, String sRoleName) { return m_SessCtx.hasUserRole(sAppPath, sRoleName); }