JAMS Developer Guide
GetToken Method


MVPSI.JAMS Namespace > IServerInfo Interface : GetToken Method
Validate the tenant and generate a token
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function GetToken( _
   ByVal tenantName As System.String _
) As System.String
'Usage
 
Dim instance As IServerInfo
Dim tenantName As System.String
Dim value As System.String
 
value = instance.GetToken(tenantName)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.string GetToken( 
   System.string tenantName
)

Parameters

tenantName
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IServerInfo Interface
IServerInfo Members