Security cmdlets (SharePoint Server 2010)
Applies to: SharePoint Server 2010, SharePoint Foundation 2010
Topic Last Modified: 2011-09-23
You can use Windows PowerShell cmdlets to administer security for Microsoft SharePoint Server 2010.
Cmdlet name | Description |
---|---|
Adds a user to the SharePoint_Shell_Access role for the specified database. | |
Returns the names of all users who have the SharePoint_Shell_Access role. | |
Removes a user from the SharePoint_Shell_Access role. | |
Adds a claim mapping to a trusted security token service (STS) identity provider. | |
Returns an authentication provider. | |
Returns the SharePoint certificate authority (CA). | |
Returns a claim provider. | |
Returns a claim provider manager. | |
Retrieves accounts registered in the configuration database. | |
Returns all managed paths that match the given criteria. | |
Returns the security token service (STS) for the farm. | |
Returns the SPObjectSecurity object for a service application. | |
Returns an identity provider. | |
Returns a trusted root authority. | |
Returns the object that represents the farm trust. | |
Adds a new security principal to an SPObjectSecurity object. | |
Enforces resource security on the local server. | |
Creates a new authentication provider in the farm. | |
Registers a new claim provider in the farm. | |
Creates a new claims principal. | |
Creates a claim mapping rule for a security token service (STS) identity provider. | |
Registers a new managed account. | |
Creates a new managed path for the given Web application for all host header site collections. | |
Creates an identity provider in the farm. | |
Creates a trusted root authority. | |
Creates a trust with a SharePoint farm. | |
Unregisters a claim provider. | |
Deletes a claim type mapping rule for a security token service (STS) identity provider. | |
Removes a managed account registration from the farm. | |
Deletes the specified managed path from the specified host header or Web application. | |
Deletes a security token service (STS) identity provider from the farm. | |
Deletes a trusted root authority. | |
Deletes the object that represents the farm trust. | |
Repairs the local managed account credential deployment. | |
Removes a security principal from a SPObjectSecurity object. | |
Updates registration of a claims provider. | |
Configures the managed account. | |
Updates the settings of the SharePoint security token service (STS) identity provider. | |
Updates the SPObjectSecurity object for a service application. | |
Sets the identity providers of a Web application. | |
Creates a new trusted root authority. | |
Updates a trust with the farm. | |
Changes the value of the farm encryption key and, using the new key, re-encrypts all the data. |