Create a generic principal instance with the specified identity and roles.
- identity
- The identity that this principal represents.
- roles
- An array of strings containing every roles associated with the identity.
The roles array can be null if the identity isn't part of any role.
Namespace: System.Security.Principal
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0