Hi All,
I'm teaching myself some SSAS on my local laptop (e.g. not an AD environment - SQL Server and SSAS on same instance).
I've created a very simple cube with 1 dimension and 1 fact table that runs fine.
For the data source, I import data fine using a basic service account and use 'service account' as impersonation mode.
The important bit...I've added a role to the cube to automatically restrict the values available to the 'current user' when they're browsing the cube dimension for the following two local user accounts I set up on my laptop:
MYPC\USER1
MYPC\USER2
using the following rule in the Dimension Data role tab:
{strtomember("[DIMENSION].[ID].&[" + MID(USERNAME(),INSTR(USERNAME(),"\")+1) + "]")}
The cube deploys fine with this role set up and I can browse it fine.
But...! When I browse the cube in BIDS/SSMS and select 'change user' to user either of the two users above I get the following message:
'The name provided is not a properly formed account name'
And I can't browse the cube.
Has anyone a solution?
Thanks,
ZP