NonAuthenticatedIdentity Class
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
This class provides an IIdentity that is not considered authenticated. This allows a site to recognize a user without treating the user as authenticated.
Namespace: Microsoft.CommerceServer.Runtime
Assembly: Microsoft.CommerceServer.Shared (in Microsoft.CommerceServer.Shared.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class NonAuthenticatedIdentity _
Inherits GenericIdentity
'Usage
Dim instance As NonAuthenticatedIdentity
[SerializableAttribute]
public class NonAuthenticatedIdentity : GenericIdentity
[SerializableAttribute]
public ref class NonAuthenticatedIdentity : public GenericIdentity
public class NonAuthenticatedIdentity extends GenericIdentity
Remarks
The most common use case is when a returning user is recognized by a cookie. The site will want to hide sensitive information from the user in case the computer is being used by someone else. The site can ask for a password from the user before displaying sensitive information.
This allows a site to recognize a user without treating the user as authenticated. The most common use case is when a returning user is recognized by a cookie. The site will want to hide sensitive information from the user in case the computer is being used by someone else. The site can ask for a password from the user before displaying sensitive information.
Inheritance Hierarchy
System..::.Object
System.Security.Principal..::.GenericIdentity
Microsoft.CommerceServer.Runtime..::.NonAuthenticatedIdentity
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.