Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Dynamic Security Error when user is not in the list.

$
0
0

Hello,

I am implementing dynamic security in the cube and its working fine as long as user is in the user dimension table.

but if some one is not in the user dimension table in that case I am getting error.

I am using below expression in the Allowed member set.

EXISTS([Reseller].[Reseller].Members,

    STRTOSET("[User].[User].["+Username+"]"),

    'Reseller User'

    )

There should be some default dimension for the user who is not in the list.

how to avoid this error:

MdxScript(Adventure Works) (367, 8) The '[81 - 100]' member was not found in the cube when the string, [Reseller].[Number of Employees].[Number of Employees].[81 - 100], was parsed.

For your reference you can use the below link to implement the security and test it on adventure work.

http://hccmsbi.blogspot.in/2007/08/implementing-user-specific-security-in.html

Thanks,




Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>