C# Class System.Security.Principal.WindowsPrincipal

Inheritance: System.Security.Claims.ClaimsPrincipal
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
IsInRole ( System.Security.Principal.SecurityIdentifier sid ) : bool
IsInRole ( WindowsBuiltInRole role ) : bool
IsInRole ( int rid ) : bool
IsInRole ( string role ) : bool
WindowsPrincipal ( System.Security.Principal.WindowsIdentity ntIdentity ) : System.Collections.Generic

Private Methods

Méthode Description
OnDeserializedMethod ( StreamingContext context ) : void
WindowsPrincipal ( ) : System.Collections.Generic

Method Details

IsInRole() public méthode

public IsInRole ( System.Security.Principal.SecurityIdentifier sid ) : bool
sid System.Security.Principal.SecurityIdentifier
Résultat bool

IsInRole() public méthode

public IsInRole ( WindowsBuiltInRole role ) : bool
role WindowsBuiltInRole
Résultat bool

IsInRole() public méthode

public IsInRole ( int rid ) : bool
rid int
Résultat bool

IsInRole() public méthode

public IsInRole ( string role ) : bool
role string
Résultat bool

WindowsPrincipal() public méthode

public WindowsPrincipal ( System.Security.Principal.WindowsIdentity ntIdentity ) : System.Collections.Generic
ntIdentity System.Security.Principal.WindowsIdentity
Résultat System.Collections.Generic