Пример #1
0
        public UserRoles() {

            userRoles = new UserRole[4];

            userRoles[0] = new UserRole { Id = 1, UserRoleType = "Auditor", GUID = Guid.NewGuid() , UserName = "******"};
            userRoles[1] = new UserRole { Id = 2, UserRoleType = "Admin", GUID = Guid.NewGuid(), UserName = "******" };
            userRoles[2] = new UserRole { Id = 3, UserRoleType = "Admin", GUID = Guid.NewGuid(), UserName = "******" };
            userRoles[3] = new UserRole { Id = 4, UserRoleType = "Auditor", GUID = Guid.NewGuid(), UserName = "******" };
        }
Пример #2
0
        public UserRoles() {

            userRoles = new UserRole[6];

            userRoles[0] = new UserRole { Id = 1, UserRoleType = UserRoleType.ADMIN, GUID = Guid.NewGuid() , UserName = "******"};
            userRoles[1] = new UserRole { Id = 2, UserRoleType = UserRoleType.ADMIN, GUID = Guid.NewGuid(), UserName = "******" };
            userRoles[2] = new UserRole { Id = 3, UserRoleType = UserRoleType.AUDITOR, GUID = Guid.NewGuid(), UserName = "******" };
            userRoles[3] = new UserRole { Id = 4, UserRoleType = UserRoleType.AUDITOR, GUID = Guid.NewGuid(), UserName = "******" };
            userRoles[4] = new UserRole { Id = 5, UserRoleType = UserRoleType.ADMIN, GUID = Guid.NewGuid(), UserName = "******" };
            userRoles[5] = new UserRole { Id = 6, UserRoleType = UserRoleType.AUDITOR, GUID = Guid.NewGuid(), UserName = "******" };

        }