Following are the PowerShell cmdlet parameters and xml syntax for the ControlPoint Set User Direct Permissions action.
PowerShell Parameters
|
Parameter |
Description |
|---|---|
|
Set-UserDirectPermissions |
The cmdlet name |
|
-Type |
The level of the hierarchy for the SharePoint object(s) that will be acted on. Valid values are: §FARM §WAP §SITE §WEB §LIST |
|
-Url |
The url of the SharePoint object to act on. NOTE: If the action is to be performed on a farm, Web application, or site collection, you can use the url for any site within that scope. |
|
-IncludeChildren |
An indication of whether you want the action to include child objects.
§If -Type is FARM, WAP, or SITE, $true is the only valid value. §If -Type is WEB, valid values are $true or $false.
NOTE: If this parameter is omitted: §for FARM, WAP, or SITE, a value of true will be assumed §for WEB or LIST, a value of false will be assumed. |
|
-UserLoginNames |
Login name(s) of the user(s) whose permissions will be set. Enter multiple login names as a comma-separated list. |
|
-PermissionsLevel |
The permissions level to set for the user(s). NOTE: You can specify a custom permissions level as long as it has already been defined for the site collection. |
|
-TaskAuditPath (Optional) |
If you want to save a ControlPoint Task Audit for the action as a .pdf file, the path to the directory where you want the file to be saved. |