Пример #1
0
        public void Register(SharedAccount sAccount)
        {
            Debug.WriteLine(AccountProvider.GetFeaturesByAppId("tlwr"));
            Account account = Account.CreateAccount();

            account.UserName    = sAccount.name;
            account.DisplayName = sAccount.displayName;
            account.DomainName  = sAccount.domainName;
            account.EmailId     = sAccount.email;
            account.IconPath    = sAccount.iconPath;
            AccountService.AddAccount(account);
        }