Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save moiaune/c35b78987f2a6da823a328fa97e265bb to your computer and use it in GitHub Desktop.
Save moiaune/c35b78987f2a6da823a328fa97e265bb to your computer and use it in GitHub Desktop.
PS> [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphUser].GetProperties()
...
MemberType : Property
Name : UserType
DeclaringType : Microsoft.Graph.PowerShell.Models.IMicrosoftGraphUser
ReflectedType : Microsoft.Graph.PowerShell.Models.IMicrosoftGraphUser
MetadataToken : 385892877
Module : Microsoft.Graph.Users.private.dll
IsCollectible : False
PropertyType : System.String
Attributes : None
CanRead : True
CanWrite : True
IsSpecialName : False
GetMethod : System.String get_UserType()
SetMethod : Void set_UserType(System.String)
CustomAttributes : {[Microsoft.Graph.PowerShell.Runtime.InfoAttribute(Required = False,
ReadOnly = False, PossibleTypes = new Type[1] { typeof(System.String)
}, Description = "A string value that can be used to classify user
types in your directory, such as Member and Guest. Returned only on
$select. Supports $filter (eq, ne, not, in, and eq on null values).
NOTE: For more information about the permissions for member and guest
users, see What are the default user permissions in Azure Active
Directory?", SerializedName = "userType")]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment