If My.User.IsInRole(ApplicationServices.BuiltInRole.Administrator) Then MessageBox.Show("Administrator権限です。") Else MessageBox.Show("Administrator権限ではありません。") End If