[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Interfaces=GenericPrincipal,IPrincipal Info=Represents a generic principal. [Property] Name=Sets the name of the component. ARG(string)|2| +Roles=Sets an array of role names to which the user represented by the identity parameter belongs. ARG(string[])|13|2 Identity=Sets a basic implementation of IIdentity that represents any user. ARG(IIdentity)|20|(empty)|IIdentity [Methods] *doConstructor=Initializes a new instance of the GenericPrincipal class from a user identity and an array of role names to which the user represented by that identity belongs. ARG(IIdentity identity, string[] roles)|1|0 *doIsInRole=Determines whether the current GenericPrincipal belongs to the specified role. ARG(string role)|1|0 *onIsInRole=Occurs after invoke the method doIsInRole and returns the result. ARG(bool)|2|104 *.Identity=Returns the GenericIdentity of the user represented by the current GenericPrincipal. ARG(IIdentity)|3|0 GenericPrincipal=Returns the GenericPrincipal object. ARG(GenericPrincipal)|3|0 Identity=Defines a basic implementation of IIdentity that represents any user. ARG(IIdentity)|4|0 Roles=Defines an array of role names to which the user represented by the identity parameter belongs. ARG(string[])|4|13 Role=Defines the name of the role for which to check membership. ARG(string)|4|2