JAMS Developer Guide
GetUsernameAndPassword Method


MVPSI.JAMS.Activities.HDInsight Namespace > HDInsightSessionCreateCluster Class : GetUsernameAndPassword Method
Returns the username and password of a JAMS user.
Syntax
'Declaration
 
Public Shared Function GetUsernameAndPassword( _
   ByVal jamsUsername As System.String, _
   ByVal context As System.Activities.NativeActivityContext _
) As System.Net.NetworkCredential
'Usage
 
Dim jamsUsername As System.String
Dim context As System.Activities.NativeActivityContext
Dim value As System.Net.NetworkCredential
 
value = HDInsightSessionCreateCluster.GetUsernameAndPassword(jamsUsername, context)
public static System.Net.NetworkCredential GetUsernameAndPassword( 
   System.string jamsUsername,
   System.Activities.NativeActivityContext context
)

Parameters

jamsUsername
context
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

HDInsightSessionCreateCluster Class
HDInsightSessionCreateCluster Members