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
- cookie
Type: System..::.String
The cookie.
Return Value
Type: System..::.String
The user identifier from the specified cookie.
Remarks
Retrieves the user identification from a specified cookie.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.