C# Class WindowsPrincipalSample.Program

Afficher le fichier Open project: ProfessionalCSharp/ProfessionalCSharp6

Méthodes publiques

Méthode Description
ShowClaims ( IEnumerable claims ) : void
ShowIdentityInformation ( ) : System.Security.Principal.WindowsIdentity
ShowPrincipal ( System.Security.Principal.WindowsIdentity identity ) : WindowsPrincipal

Private Methods

Méthode Description
Main ( ) : void

Method Details

ShowClaims() public static méthode

public static ShowClaims ( IEnumerable claims ) : void
claims IEnumerable
Résultat void

ShowIdentityInformation() public static méthode

public static ShowIdentityInformation ( ) : System.Security.Principal.WindowsIdentity
Résultat System.Security.Principal.WindowsIdentity

ShowPrincipal() public static méthode

public static ShowPrincipal ( System.Security.Principal.WindowsIdentity identity ) : WindowsPrincipal
identity System.Security.Principal.WindowsIdentity
Résultat System.Security.Principal.WindowsPrincipal