Namespace: Microsoft.IdentityModel.Web
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As WSFederationAuthenticationModule
Dim sessionToken As SessionSecurityToken
Dim isSession As Boolean

instance.SetPrincipalAndWriteSessionToken(sessionToken, isSession)

Syntax

Visual Basic
Public Sub SetPrincipalAndWriteSessionToken ( _
		sessionToken As SessionSecurityToken, _
		isSession As Boolean _
)
C#
public void SetPrincipalAndWriteSessionToken (
		SessionSecurityToken sessionToken,
		bool isSession
)
C++
public:
void SetPrincipalAndWriteSessionToken (
		SessionSecurityToken^ sessionToken, 
		bool isSession
)
J#
public void SetPrincipalAndWriteSessionToken (
		SessionSecurityToken sessionToken, 
		boolean isSession
)
JScript
public function SetPrincipalAndWriteSessionToken (
		sessionToken : SessionSecurityToken, 
		isSession : boolean
)

Parameters

sessionToken
isSession

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also