SAS Visual Analytics provides the ability to implement row-level security on data. As documented in the SAS® Visual Analytics: Administration Guide, there are three methods that you can use to define your conditions:
There are differences between the methods. For example, the user interface does not support the use of the IN operator, which is most often used with the IdentityGroups property. In order to implement row-level security using the IdentityGroups property (or any other statement using the IN operator), you must use the batch tools for metadata authorization.
For example, the following expression subsets Region for all users in the SASUSERS group where the value of Region matches the name of any group that user is a member of:
sas-set-metadata-access -host localhost -port 8561 -user "sasadm@saspw" -password xxxxxxx
"/Shared Data/Libraries/LASR Library/MEGACORP1MILLION (Table)" -grant SASUsers:Read -condition
"Region IN ('SUB::SAS.IdentityGroups')"
In this example, the sasdemo user is a member of a metadata group called "West." Therefore, only data for the "West" region is displayed.
Here are some tips for creating your condition:
Note: For a link to the SAS Visual Analytics: Administration Guide, see the SAS Visual Analytics documentation page. Click the tab for the release that you are using, and look under the "Administration and Deployment" section.