Is there any possibility to grant right in accessing database like read, write or read&write?
through role or any permission?
As I have gone through the capability and it seems nothing for me to do it.
May not apply, but the simplistic solution is: If you are storing the data in a shared library folder, you can make the shared library folder read only or exclude the user from the folder. If you are using a server, another (albeit hacky) solution would be to create a scheduled task to copy the data to a folder that has your specified priveledges. This way, the user will be restricted to the datasets based on your specifications via windows, and not SAS.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Lock in the best rate now before the price increases on April 1.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.