﻿<?xml version="1.0" encoding="utf-8"?><Type Name="IPrincipal" FullName="System.Security.Principal.IPrincipal"><TypeSignature Maintainer="auto" Language="C#" Value="public interface IPrincipal" /><TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IPrincipal" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Interfaces /><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>A principal object represents the security context of the user on whose behalf the code is running, including that user's identity (<see cref="T:System.Security.Principal.IIdentity" />) and any roles to which they belong.</para><para>All principal objects are required to implement the <see cref="T:System.Security.Principal.IPrincipal" /> interface. For more information about <see cref="T:System.Security.Principal.IPrincipal" /> implementations, see the <see cref="T:System.Security.Claims.ClaimsPrincipal" /> class.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Defines the basic functionality of a principal object.</para></summary></Docs><Members><Member MemberName="Identity"><MemberSignature Language="C#" Value="public System.Security.Principal.IIdentity Identity { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Security.Principal.IIdentity Identity" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Security.Principal.IIdentity</ReturnType></ReturnValue><Docs><value>The current identity of the principal.</value><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the identity of the current principal.</para></summary></Docs></Member><Member MemberName="IsInRole"><MemberSignature Language="C#" Value="public bool IsInRole (string role);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool IsInRole(string role) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="role" Type="System.String" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines whether the current principal belongs to the specified role.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the current principal is a member of the specified role; otherwise, false.</para></returns><param name="role"><attribution license="cc4" from="Microsoft" modified="false" />The name of the role for which to check membership. </param></Docs></Member></Members></Type>