public MapResponse CreateDomain(string callingUrl, string name) { using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl)) { return nodeServiceClient.CreateDomain(callingUrl, name); } }
public MapResponse CreateDomain(string callingUrl, string name) { using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl)) { return(nodeServiceClient.CreateDomain(callingUrl, name)); } }
public MapResponse CreateDomain(string callingUrl, string name) { using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl)) { using (WebAppSPGlymaSession glymaSession = new WebAppSPGlymaSession(callingUrl, null, null, SPGlymaRightFactory.Instance.ProjectCreateRight)) { GlymaSessionConfiguration configuration = glymaSession.ExportGlymaSession(); return(nodeServiceClient.CreateDomain(configuration, name)); } } }
public MapResponse CreateDomain(string callingUrl, string name) { using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl)) { using (WebAppSPGlymaSession glymaSession = new WebAppSPGlymaSession(callingUrl, null, null, SPGlymaRightFactory.Instance.ProjectCreateRight)) { GlymaSessionConfiguration configuration = glymaSession.ExportGlymaSession(); return nodeServiceClient.CreateDomain(configuration, name); } } }