Freigeben über


MicrosoftGraphDirectoryRole Class

Definition

directoryRole

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

Constructors

MicrosoftGraphDirectoryRole()

Creates an new MicrosoftGraphDirectoryRole instance.

Fields

__additionalProperties

Properties

DeletedDateTime
Description

The description for the directory role. Read-only. Supports $filter (eq), $search, $select.

DisplayName

The name displayed in directory

Id

Read-only.

Item[String]
Member

Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand.

OdataId

The full id of object in directory

OdataType

The type of object in directory

RoleTemplateId

The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. Supports $filter (eq), $select.

ScopedMember

Members of this directory role that are scoped to administrative units. Read-only. Nullable.

Methods

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

Deserializes a IDictionary into an instance of MicrosoftGraphDirectoryRole.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MicrosoftGraphDirectoryRole.

FromJson(JsonNode)

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

FromJsonString(String)

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

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of MicrosoftGraphDirectoryRole into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
TryGetValue(String, Object)
Validate(IEventListener)

Validates that this object meets the validation criteria.

Operators

Implicit(MicrosoftGraphDirectoryRole to Dictionary<String,Object>)

Explicit Interface Implementations

IAssociativeArray<Object>.AdditionalProperties

Applies to