Example #1
0
        //NOT FOR LOGIN PROXY!!
        public static void MakeAdmin(int memberId)
        {
            Member member = ConnectionStubTemp.getMember(memberId);

            Password.Password passOrig = ConnectionStubTemp.pHandler.GetPasswordForMember(memberId);
            Password.Password passCopy = new Password.Password(passOrig);
            SystemAdmin       newsys   = new SystemAdmin(member);

            ConnectionStubTemp.removeMember(member);
            ConnectionStubTemp.addMemberJustForExternalUsage(newsys, new Password.Password(passCopy));
        }