-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.Security.Principal.IPrincipal.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Security.Principal.IIdentity.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.String.Ref_array is access;
with MSSyst.Object;
package MSSyst.Security.Principal.GenericPrincipal is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ(
         I_IPrincipal : MSSyst.Security.Principal.IPrincipal.Ref
      ) is new MSSyst.Object.Typ with record
      null;
   end record;
   function new_GenericPrincipal(
      This : Ref := null;
      identity : MSSyst.Security.Principal.IIdentity.Ref;
      roles : MSSyst.String.Ref_array) return Ref;
   function get_Identity(
      This : access Typ) return MSSyst.Security.Principal.IIdentity.Ref;
   function IsInRole(
      This : access Typ;
      role : MSSyst.String.Ref) return Standard.Boolean;
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_GenericPrincipal);
   pragma Import(MSIL,get_Identity,"get_Identity");
   pragma Import(MSIL,IsInRole,"IsInRole");
end MSSyst.Security.Principal.GenericPrincipal;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Security.Principal.GenericPrincipal,
   ".ver 1.0.5000.0 .publickeytoken=( 96 9d b8 05 3d 33 22 ac )",
   "[mscorlib]System.Security.Principal.GenericPrincipal");
