次の方法で共有


Update-UserType

指定したユーザーの UserType 値をMicrosoft Entra IDからUpdatesします。

構文

Default (既定)

Update-UserType
    [-LoginName] <String>
    [<CommonParameters>]

説明

このコマンドレットは、指定したユーザーの UserType 値を取得し、Office 365 テナント内のすべての SharePoint Online サイトで UserType を更新します。 これは、たとえば、ユーザーの UserType が以前にMicrosoft Entra IDで更新された場合に、ゲスト ユーザーを標準 (メンバー) ユーザーに変換するために使用できます。

例 1

Update-UserType -LoginName jdoe@contoso.com

Microsoft Entra IDの UserType 値に基づいて、テナント内のすべての SharePoint Online サイトでjdoe@contoso.comの UserType をUpdatesします。

パラメーター

-LoginName

適用対象: SharePoint Online

SharePoint Online 全体で更新する対象ユーザーのログイン名。

パラメーターのプロパティ

型:System.String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:1
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

CommonParameters

このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、「about_CommonParameters」を参照してください。

入力

None

出力

System.Object