Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IncludeSecurity Property

SPDeploymentSettings.IncludeSecurity Property

Windows SharePoint Services 3

Gets or sets a value that determines whether site security groups and the group membership information is exported or imported.

Namespace:  Microsoft.SharePoint.Deployment
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPIncludeSecurity IncludeSecurity { get; set; }

The enumeration provide three values:

  • All: Specifies the export of user memberships and role assignments such as out of the box roles like Web Designer, plus any custom roles that extend from the out of the box roles. The ACL for each object is exported to the migration package, as well as user information defined in the DAP or LDAP servers.

  • None: No user role or security group information is exported. This is the default.

  • WssOnly: Specifies the export of user memberships and role assignments such as out of the box roles like Web Designer, plus any custom roles that extend from the out of the box roles. The ACL for each object is exported to the migration package; however, user information defined in the DAP or LDAP servers is not exported.

The default value is None.

When exporting objects smaller than a web (for example, a list or list item) you should set IncludeSecurity to None; otherwise, security group and membership information for the entire web is exported.

Community Additions

ADD
Show:
© 2015 Microsoft