Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 2.01 KB

Initialize-KshBasePermission.md

File metadata and controls

63 lines (44 loc) · 2.01 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Initialize-KshBasePermission

SYNOPSIS

Creates a base permission.

SYNTAX

Initialize-KshBasePermission [-Permission] <PermissionKind[]> [<CommonParameters>]

DESCRIPTION

The Initialize-KshBasePermission cmdlet creates a new base permission from permissions. This is provided for the New-KshRoleDefinition cmdlet and Update-KshRoleDefinition cmdlet.

EXAMPLES

Example 1

PS C:\> Initialize-KshBasePermission -Permission @('ViewListItems', 'AddListItems', 'EditListItems', 'DeleteListItems')

Creates a base permission.

PARAMETERS

-Permission

Specifies the permissions.

Type: PermissionKind[]
Parameter Sets: (All)
Aliases:
Accepted values: EmptyMask, ViewListItems, AddListItems, EditListItems, DeleteListItems, ApproveItems, OpenItems, ViewVersions, DeleteVersions, CancelCheckout, ManagePersonalViews, ManageLists, ViewFormPages, AnonymousSearchAccessList, Open, ViewPages, AddAndCustomizePages, ApplyThemeAndBorder, ApplyStyleSheets, ViewUsageData, CreateSSCSite, ManageSubwebs, CreateGroups, ManagePermissions, BrowseDirectories, BrowseUserInfo, AddDelPrivateWebParts, UpdatePersonalWebParts, ManageWeb, AnonymousSearchAccessWebLists, UseClientIntegration, UseRemoteAPIs, ManageAlerts, CreateAlerts, EditMyUserInfo, EnumeratePermissions, FullMask

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

Karamem0.SharePoint.PowerShell.Models.BasePermission

NOTES

RELATED LINKS