Partilhar via


Propriedade do RDL IUserContext.Token

Gets the value that specifies the security token.

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

Sintaxe

'Declaração
ReadOnly Property Token As Object 
    Get
'Uso
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

Valor da propriedade

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

Comentários

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.

Consulte também

Referência

IUserContext Interface

Namespace Microsoft.ReportingServices.Interfaces