private async void load(string url) { HMS.SP.ObjectSharingInformation spObjectSharingInformation = await SPGet.getObjectSharingInformation(spglb.myClient, url); this.add_ObjectSharingInformation(1, spObjectSharingInformation); this.hide_running(); }
public int add_ObjectSharingInformation_deferred(int pos, int level, HMS.SP.ObjectSharingInformation spObjectSharingInformation) { { string useUrl = spObjectSharingInformation.__deferred_.uri; if (!String.IsNullOrEmpty(useUrl)) { pos = this.add_lineAt(pos, level, false, "ObjectSharingInformation", "", knownPages.pageObjectSharingInformation, useUrl); } else { pos = this.add_lineAt(pos, level, true, "ObjectSharingInformation", "", knownPages.NONE, ""); pos = this.add_ObjectSharingInformation(pos, level + 1, spObjectSharingInformation); } } return(pos); }
public int add_ObjectSharingInformation(int pos, int level, HMS.SP.ObjectSharingInformation spObjectSharingInformation) { if (spObjectSharingInformation.__HMSError_ != null && (spObjectSharingInformation.__HMSError_.errno != 0 || spObjectSharingInformation.__HMSError_.info != "")) { pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spObjectSharingInformation.__HMSError_)); } pos = this.add__deferred(pos, level, spObjectSharingInformation.__deferred_); pos = this.add__metadata(pos, level, spObjectSharingInformation.__metadata_); pos = this.add__rest(pos, level, spObjectSharingInformation.__rest); pos = this.add_lineAt(pos, level, "AnonymousEditLink", HMS.SP.SPUtil.toString(spObjectSharingInformation.AnonymousEditLink_)); //Undefined; pos = this.add_lineAt(pos, level, "AnonymousViewLink", HMS.SP.SPUtil.toString(spObjectSharingInformation.AnonymousViewLink_)); //Object; pos = this.add_lineAt(pos, level, "CanManagePermissions", HMS.SP.SPUtil.toString(spObjectSharingInformation.CanManagePermissions_)); //Object; pos = this.add_lineAt(pos, level, "HasPendingAccessRequests", HMS.SP.SPUtil.toString(spObjectSharingInformation.HasPendingAccessRequests_)); //Undefined; pos = this.add_lineAt(pos, level, "HasPermissionLevels", HMS.SP.SPUtil.toString(spObjectSharingInformation.HasPermissionLevels_)); //Object; pos = this.add_lineAt(pos, level, "IsSharedWithCurrentUser", HMS.SP.SPUtil.toString(spObjectSharingInformation.IsSharedWithCurrentUser_)); //Undefined; pos = this.add_lineAt(pos, level, "IsSharedWithGuest", HMS.SP.SPUtil.toString(spObjectSharingInformation.IsSharedWithGuest_)); //Undefined; pos = this.add_lineAt(pos, level, "IsSharedWithMany", HMS.SP.SPUtil.toString(spObjectSharingInformation.IsSharedWithMany_)); //Undefined; pos = this.add_lineAt(pos, level, "IsSharedWithSecurityGroup", HMS.SP.SPUtil.toString(spObjectSharingInformation.IsSharedWithSecurityGroup_)); //Object; pos = this.add_lineAt(pos, level, "PendingAccessRequestsLink", HMS.SP.SPUtil.toString(spObjectSharingInformation.PendingAccessRequestsLink_)); //Undefined; return(pos); }
public int add_ObjectSharingInformation(int level, HMS.SP.ObjectSharingInformation spObjectSharingInformation) { return(add_ObjectSharingInformation(-1, level, spObjectSharingInformation)); }