Oracle Solution for Error ora-01956

Solution for Oracle Error ORA-01956

ORA-01956: invalid command when OS_ROLES are being used

What triggered the Error:

This command cannot be used when the INIT.ORA parameter OS_ROLES is TRUE.

What should we do to fix it:

Grant the role to the user in the operating system.