共用方式為


IUserContext.UserName 屬性

Gets the value that specifies the user name.

命名空間:  Microsoft.ReportingServices.Interfaces
組件:   Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)
  Microsoft.ReportingServices.Interfaces (在 Microsoft.ReportingServices.Interfaces.dll 中)

語法

'宣告
ReadOnly Property UserName As String 
    Get
'用途
Dim instance As IUserContext 
Dim value As String 

value = instance.UserName
string UserName { get; }
property String^ UserName {
    String^ get ();
}
abstract UserName : string
function get UserName () : String

屬性值

型別:System.String
A value that specifies the user name.

請參閱

參考

IUserContext 介面

Microsoft.ReportingServices.Interfaces 命名空間