共用方式為


IUserContext.Token 屬性

Gets the value that specifies the security token.

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

語法

'宣告
ReadOnly Property Token As Object 
    Get
'用途
Dim instance As IUserContext 
Dim value As Object 

value = instance.Token
Object Token { get; }
property Object^ Token {
    Object^ get ();
}
abstract Token : Object
function get Token () : Object

屬性值

型別:System.Object
A value that specifies the security token.

備註

If Reporting Services is configured to use Windows Authentication, this property returns a Windows security token. If Reporting Services is configured to use SharePoint authentication, the property returns the SharePoint security token, IntPtr.Zero.

請參閱

參考

IUserContext 介面

Microsoft.ReportingServices.Interfaces 命名空間