AuthManager.GetUserIDFromCookieAndKey (String, String) Method (BCL)
Use this method to retrieve the user ID from a specified cookie using an encryption key.
[Visual Basic .NET]
Public Function GetUserIDFromCookieAndKey( _ByValcookie As System.String, _
ByValencryptionKey As System.String _
) As System.String
[C#]
public System.String GetUserIDFromCookieAndKey(System.Stringcookie,
System.StringencryptionKey);
Parameters
[Visual Basic .NET]
- cookie
A String containing the cookie. - encryptionKey
A String containing the encryption key.
[C#]
- cookie
A String containing the cookie. - encryptionKey
A String containing the encryption key.
Return Value
This method returns a String containing the user ID from the specified cookie and key.
Requirements
Platforms: Windows 2000, Windows Server 2003
Copyright © 2005 Microsoft Corporation.
All rights reserved.