An imperative role-based security demand for the current principal to represent an identity with the name Anya, the roles of the principal are irrelevant : Permissions « Security « C# / CSharp Tutorial
30. 4. 11. An imperative role-based security demand for the current principal to represent an identity with the name Anya, the roles of the principal are irrelevant
using System; using System.Security.Permissions;
class MainClass
{ public static void MyMethod()
{
PrincipalPermission perm = new PrincipalPermission(@"MACHINE\Joe", null);
An imperative role-based security demand for the current principal to represent an identity with the name Anya, the roles of the principal are irrelevant