Home      Functions     Common Solutions      Contact     

MDX Functions:
MDX Functions

Common Solutions

Common Solutions
Resource Links

MDX Books
MDX Related Software
MDX Related Blogs
Other Links

Contact Us
Microsoft SQL Server Analysis Services Function Page
Function Name: UserName
Category: String
Description: The UserName function returns the domain and username for the current connection.
Syntax: USERNAME()
Technet Link: MDX UserName Function

The following query returns the domain\username for the current connection.
      MEMBER [Measures].[User] AS
      {[Measures].[User]} ON COLUMNS
      [Adventure Works]


Copyright 2008 by MDXpert.com.
Terms of Use                              Privacy Statement
Site Powered By - WinHost.Com