```dart
Future<void> signOutCurrentUserGlobally() async {
  try {
    await Amplify.Auth.signOut(options: SignOutOptions(globalSignOut: true));
  } on AmplifyException catch (e) {
    print(e.message);
  }
}
```
