IIdentity Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the basic functionality of an identity object.
public interface class IIdentity
public interface IIdentity
[System.Runtime.InteropServices.ComVisible(true)]
public interface IIdentity
type IIdentity = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IIdentity = interface
Public Interface IIdentity
- Derived
- Attributes
Remarks
An identity object represents the user on whose behalf the code is running. This interface is implemented by the GenericIdentity and WindowsIdentity classes.
Properties
AuthenticationType |
Gets the type of authentication used. |
IsAuthenticated |
Gets a value that indicates whether the user has been authenticated. |
Name |
Gets the name of the current user. |
Applies to
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for