mscorlib(4.0.0.0) API with additions
IPrincipal.cs
1
using
System
.
Runtime
.
InteropServices
;
2
3
namespace
System.Security.Principal
4
{
6
[ComVisible(
true
)]
7
[__DynamicallyInvokable]
8
public
interface
IPrincipal
9
{
12
[__DynamicallyInvokable]
13
IIdentity
Identity
14
{
15
[__DynamicallyInvokable]
16
get
;
17
}
18
23
[__DynamicallyInvokable]
24
bool
IsInRole
(
string
role);
25
}
26
}
System.Security.Principal.IPrincipal
Defines the basic functionality of a principal object.
Definition:
IPrincipal.cs:8
System.Runtime.InteropServices
Definition:
_Activator.cs:1
System.Runtime
Definition:
AssemblyTargetedPatchBandAttribute.cs:1
System
Definition:
__Canon.cs:3
System.Security.Principal.IPrincipal.Identity
IIdentity Identity
Gets the identity of the current principal.
Definition:
IPrincipal.cs:14
System.Security.Principal
Definition:
GenericIdentity.cs:6
System.Security.Principal.IPrincipal.IsInRole
bool IsInRole(string role)
Determines whether the current principal belongs to the specified role.
System.Security.Principal.IIdentity
Defines the basic functionality of an identity object.
Definition:
IIdentity.cs:8
All cs
System.Security.Principal
IPrincipal.cs
Generated by
1.8.15