< Back

New-PermissionObject

Sat Jan 18, 2020 12:42 pm

NAME New-PermissionObject



SYNOPSIS

Creates a new object which represents a "microsoft.graph.permission" (or one of its derived types).





SYNTAX

New-PermissionObject [-grantedTo <object>] [-inheritedFrom <object>] [-invitation <object>] [-link <object>]

[-roles <string[]>] [-shareId <string>] [<CommonParameters>]





DESCRIPTION

Creates a new object which represents a "microsoft.graph.permission" (or one of its derived types).





PARAMETERS

-grantedTo <object>

The "grantedTo" property, of type "microsoft.graph.identitySet".



This property is on the "microsoft.graph.permission" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-inheritedFrom <object>

The "inheritedFrom" property, of type "microsoft.graph.itemReference".



This property is on the "microsoft.graph.permission" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-invitation <object>

The "invitation" property, of type "microsoft.graph.sharingInvitation".



This property is on the "microsoft.graph.permission" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-link <object>

The "link" property, of type "microsoft.graph.sharingLink".



This property is on the "microsoft.graph.permission" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-roles <string[]>

The "roles" property, of type "Edm.String".



This property is on the "microsoft.graph.permission" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-shareId <string>

The "shareId" property, of type "Edm.String".



This property is on the "microsoft.graph.permission" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS