C# Class System.Security.Principal.WindowsPrincipal

Inheritance: System.Security.Claims.ClaimsPrincipal
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method 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

Method Description
OnDeserializedMethod ( StreamingContext context ) : void
WindowsPrincipal ( ) : System.Collections.Generic

Method Details

IsInRole() public method

public IsInRole ( System.Security.Principal.SecurityIdentifier sid ) : bool
sid System.Security.Principal.SecurityIdentifier
return bool

IsInRole() public method

public IsInRole ( WindowsBuiltInRole role ) : bool
role WindowsBuiltInRole
return bool

IsInRole() public method

public IsInRole ( int rid ) : bool
rid int
return bool

IsInRole() public method

public IsInRole ( string role ) : bool
role string
return bool

WindowsPrincipal() public method

public WindowsPrincipal ( System.Security.Principal.WindowsIdentity ntIdentity ) : System.Collections.Generic
ntIdentity System.Security.Principal.WindowsIdentity
return System.Collections.Generic