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」を参照してください。