Partager via


MicrosoftGraphPermissionScope Class

Definition

permissionScope

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphPermissionScopeTypeConverter))]
public class MicrosoftGraphPermissionScope : Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPermissionScope, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IAssociativeArray<object>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphPermissionScopeTypeConverter))>]
type MicrosoftGraphPermissionScope = class
    interface IMicrosoftGraphPermissionScope
    interface IJsonSerializable
    interface IAssociativeArray<obj>
Public Class MicrosoftGraphPermissionScope
Implements IAssociativeArray(Of Object), IMicrosoftGraphPermissionScope
Inheritance
MicrosoftGraphPermissionScope
Attributes
Implements

Constructors

MicrosoftGraphPermissionScope()

Creates an new MicrosoftGraphPermissionScope instance.

Fields

__additionalProperties

Properties

AdminConsentDescription

A description of the delegated permissions, intended to be read by an administrator granting the permission on behalf of all users. This text appears in tenant-wide admin consent experiences.

AdminConsentDisplayName

The permission's title, intended to be read by an administrator granting the permission on behalf of all users.

Id

Unique delegated permission identifier inside the collection of delegated permissions defined for a resource application.

IsEnabled

When creating or updating a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed.

Item[String]
Origin
Type

Specifies whether this delegated permission should be considered safe for non-admin users to consent to on behalf of themselves, or whether an administrator should be required for consent to the permissions. This will be the default behavior, but each customer can choose to customize the behavior in their organization (by allowing, restricting or limiting user consent to this delegated permission.)

UserConsentDescription

A description of the delegated permissions, intended to be read by a user granting the permission on their own behalf. This text appears in consent experiences where the user is consenting only on behalf of themselves.

UserConsentDisplayName

A title for the permission, intended to be read by a user granting the permission on their own behalf. This text appears in consent experiences where the user is consenting only on behalf of themselves.

Value

Methods

Add(String, Object)
Clear()
ContainsKey(String)
CopyFrom(IDictionary)
CopyFrom(PSObject)
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MicrosoftGraphPermissionScope.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MicrosoftGraphPermissionScope.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPermissionScope.

FromJsonString(String)

Creates a new instance of MicrosoftGraphPermissionScope, deserializing the content from a json string.

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of MicrosoftGraphPermissionScope into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
TryGetValue(String, Object)

Operators

Implicit(MicrosoftGraphPermissionScope to Dictionary<String,Object>)

Explicit Interface Implementations

IAssociativeArray<Object>.AdditionalProperties

Applies to