private async void load(string url) { HMS.SP.UserCreationInformation spUserCreationInformation = await SPGet.getUserCreationInformation(spglb.myClient, url); this.add_UserCreationInformation(1, spUserCreationInformation); this.hide_running(); }
public int add_UserCreationInformation(int pos, int level, HMS.SP.UserCreationInformation spUserCreationInformation) { if (spUserCreationInformation.__HMSError_ != null && (spUserCreationInformation.__HMSError_.errno != 0 || spUserCreationInformation.__HMSError_.info != "")) { pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spUserCreationInformation.__HMSError_)); } pos = this.add__deferred(pos, level, spUserCreationInformation.__deferred_); pos = this.add__metadata(pos, level, spUserCreationInformation.__metadata_); pos = this.add__rest(pos, level, spUserCreationInformation.__rest); pos = this.add_lineAt(pos, level, "Email", HMS.SP.SPUtil.toString(spUserCreationInformation.Email_)); //String; pos = this.add_lineAt(pos, level, "LoginName", HMS.SP.SPUtil.toString(spUserCreationInformation.LoginName_)); //String; pos = this.add_lineAt(pos, level, "Title", HMS.SP.SPUtil.toString(spUserCreationInformation.Title_)); //String; return(pos); }
public int add_UserCreationInformation_deferred(int pos, int level, HMS.SP.UserCreationInformation spUserCreationInformation) { if (spUserCreationInformation.TitleResource_.uri == null) { pos = this.add_lineAt(pos, level, true, "UserCreationInformation", HMS.SP.SPUtil.toString(spUserCreationInformation.Title_), knownPages.NONE, ""); //String; pos = add_UserCreationInformation(pos, level + 1, spUserCreationInformation); } else { string useUrl = spUserCreationInformation.__deferred_.uri; if (String.IsNullOrEmpty(useUrl)) { useUrl = spUserCreationInformation.TitleResource_.uri.Replace("/TitleResource", ""); } pos = this.add_lineAt(pos, level, false, spUserCreationInformation.Title_, "", knownPages.pageUserCreationInformation, useUrl); } return(pos); }
public int add_UserCreationInformation(int level, HMS.SP.UserCreationInformation spUserCreationInformation) { return(add_UserCreationInformation(-1, level, spUserCreationInformation)); }