# F_USER_IN_ROLE_STR

## Codice Sorgente

```sql
FUNCTION F_USER_IN_ROLE_STR
(
  P_USER IN VARCHAR2 
, P_ROLE IN VARCHAR2 
) RETURN VARCHAR2 AS 
    v_has_role number := 0;
BEGIN
    return case when F_USER_IN_ROLE(P_USER, P_ROLE) > 0 then 'true' else 'false' end;
END F_USER_IN_ROLE_STR;
```
