Freigeben über


NonAuthenticatedIdentity Constructor

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Initializes a new instance of the NonAuthenticatedIdentity class representing the user with the specified name.

Overload List

  Name Description
Aa511814.pubmethod(en-US,CS.70).gif NonAuthenticatedIdentity(String) Initializes a new instance of the NonAuthenticatedIdentity class representing the user with the specified name.
Aa511814.pubmethod(en-US,CS.70).gif NonAuthenticatedIdentity(String, String) Initializes a new instance of the NonAuthenticatedIdentity class representing the user with the specified name and authentication type.

Top

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.

See Also

Reference

NonAuthenticatedIdentity Class

NonAuthenticatedIdentity Members

Microsoft.CommerceServer.Runtime Namespace