C# Class Enmarcha.SharePoint.Extensors.Site

Datei anzeigen Open project: Encamina/Enmarcha-SharePoint

Public Methods

Method Description
AddPermisionSite ( this web, string group, RoleType role ) : bool

Function to add permissions to a site

CreateSite ( this site, string urlWeb, string title, string description, string template ) : bool

Create SubSite in SharePoint

CreateSite ( this site, string urlWeb, string title, string description, string template, bool breakPermission ) : bool

Create SubSite in SharePoint

CreateSubSite ( this web, string urlWeb, string title, string description, string template ) : bool

Create SubSite in SharePoint

CreateSubSite ( this web, string urlWeb, string title, string description, string template, bool breakPermisions ) : bool

Create SubSite in SharePoint

GetPropertyBag ( this web, string propertyName ) : string

Get the PropertyBag of SPWeb

RemovePermisionSite ( this web, string group ) : bool

Remove Permision Library

SetPropertyBag ( this web, string propertyName, string propertyValue ) : bool

Set the PropertyBag of SPWeb

Method Details

AddPermisionSite() public static method

Function to add permissions to a site
public static AddPermisionSite ( this web, string group, RoleType role ) : bool
web this
group string
role RoleType
return bool

CreateSite() public static method

Create SubSite in SharePoint
public static CreateSite ( this site, string urlWeb, string title, string description, string template ) : bool
site this
urlWeb string Url para la Web que vamos a crear
title string
description string
template string Nombre de la definición de sitios por ejemplo Team Template el valor que se debe pasar es "STS"
return bool

CreateSite() public static method

Create SubSite in SharePoint
public static CreateSite ( this site, string urlWeb, string title, string description, string template, bool breakPermission ) : bool
site this
urlWeb string Url para la Web que vamos a crear
title string
description string
template string Nombre de la definición de sitios por ejemplo Team Template el valor que se debe pasar es "STS"
breakPermission bool
return bool

CreateSubSite() public static method

Create SubSite in SharePoint
public static CreateSubSite ( this web, string urlWeb, string title, string description, string template ) : bool
web this
urlWeb string Url para la Web que vamos a crear
title string
description string
template string Nombre de la definición de sitios por ejemplo Team Template el valor que se debe pasar es "STS"
return bool

CreateSubSite() public static method

Create SubSite in SharePoint
public static CreateSubSite ( this web, string urlWeb, string title, string description, string template, bool breakPermisions ) : bool
web this
urlWeb string Url para la Web que vamos a crear
title string
description string
template string Nombre de la definición de sitios por ejemplo Team Template el valor que se debe pasar es "STS"
breakPermisions bool
return bool

GetPropertyBag() public static method

Get the PropertyBag of SPWeb
public static GetPropertyBag ( this web, string propertyName ) : string
web this
propertyName string Name of Property
return string

RemovePermisionSite() public static method

Remove Permision Library
public static RemovePermisionSite ( this web, string group ) : bool
web this
group string Name Group
return bool

SetPropertyBag() public static method

Set the PropertyBag of SPWeb
public static SetPropertyBag ( this web, string propertyName, string propertyValue ) : bool
web this
propertyName string Name of Property
propertyValue string Value of Proerty
return bool