View on GitHub

powerSSAS

A Powershell provider for SQL Server Analysis Services

Download this project as a .zip file Download this project as a tar.gz file

Cmdlet: get‑ASCubePermission

Returns the CubePermissions for the specified Role.

#--------------  Get CubePermissions for a role -------------- 
$role = get-asrole -servername "localhost\sql08" -databasename "adventure works dw 2008" -RoleName Test 
get-ascubepermission -RoleObject $role

Parameters

-RoleObject This is the role for which the CubePermissions are to be listed

Required?                    false
Position?                    named
Default value                
Accept pipeline input?       false
Accept wildcard characters?  false

See Also

get-ASRole