public void CreateSite() { if (!ContextSharePoint.VerifyServer(SpSite)) Assert.Inconclusive(); Site = new Site(SpSite.RootWeb,this.Logger); Assert.IsTrue(Site.CreateSite("Test", "Test", "Descripcion", "STS#0", 3082)); }
public void Permision() { if (!ContextSharePoint.VerifyServer(SpSite)) Assert.Inconclusive(); Site = new Site(SpSite.RootWeb, this.Logger); Assert.IsTrue(Site.AddPermision("Administradores de jerarquías",RoleType.Administrator)); Assert.IsTrue(Site.RemovePermision("Administradores de jerarquías")); }