次の方法で共有


IUserContext.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
セキュリティ トークンを示す値です。

説明

Windows 認証を使用するように Reporting Services が構成されている場合、このプロパティは Windows セキュリティ トークンを返します。 SharePoint 認証を使用するように Reporting Services が構成されている場合、このプロパティは、SharePoint セキュリティ トークン IntPtr.Zero を返します。

関連項目

参照

IUserContext インターフェイス

Microsoft.ReportingServices.Interfaces 名前空間