Hi I tried out the AccountManager Sample in my app:
var account = Account.CreateAccount();
string userName = "Marcus";
string displayName = "Marcus_display";
string domainName = "Marcus_domain";
string emailId = "marcus@example.com";
string iconPath = "image_path";
account.UserName = userName;
account.DisplayName = displayName;
account.DomainName = domainName;
account.EmailId = emailId;
account.IconPath = iconPath;
AccountService.AddAccount(account);
The last line gives a segmentation fault.