Condividi tramite


Proprietà IUserContext.Token

Gets the value that specifies the security token.

Spazio dei nomi  Microsoft.ReportingServices.Interfaces
Assembly:   Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)

Sintassi

'Dichiarazione
ReadOnly Property Token As Object 
    Get
'Utilizzo
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

Valore proprietà

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

Osservazioni

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.

Vedere anche

Riferimento

IUserContext Interfaccia

Spazio dei nomi Microsoft.ReportingServices.Interfaces