IUserContext.Token Property

Gets the value that specifies the security token.

Namespace:  Microsoft.ReportingServices.Interfaces
Assemblies:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Syntax

'Declaration
ReadOnly Property Token As Object
    Get
'Usage
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

Property Value

Type: System.Object
A value that specifies the security token.

Remarks

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.