Share via


GetUserIDFromCookie Method

Use this method to retrieve the user identification from a specified cookie.

Namespace:  Microsoft.CommerceServer.Runtime
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Function GetUserIDFromCookie ( _
    cookie As String _
) As String
'Usage
Dim instance As AuthManager
Dim cookie As String
Dim returnValue As String

returnValue = instance.GetUserIDFromCookie(cookie)
public string GetUserIDFromCookie(
    string cookie
)
public:
String^ GetUserIDFromCookie(
    String^ cookie
)
public function GetUserIDFromCookie(
    cookie : String
) : String

Parameters

Return Value

Type: System..::.String
The user identifier from the specified cookie.

Remarks

Retrieves the user identification from a specified cookie.

Permissions

See Also

Reference

AuthManager Class

AuthManager Members

Microsoft.CommerceServer.Runtime Namespace