public override void Execute(object parameter)
        {
            // Sign out from the current ArcGIS Online or Portal instance
            if (signOutAgol == null)
                signOutAgol = new SignOutFromAGSOLCommand();
            signOutAgol.Execute(parameter);

            // Clear the application environment's set of credentials
            UserManagement.Current.Credentials.Clear();
        }
Пример #2
0
        public override void Execute(object parameter)
        {
            // Sign out from the current ArcGIS Online or Portal instance
            if (signOutAgol == null)
            {
                signOutAgol = new SignOutFromAGSOLCommand();
            }
            signOutAgol.Execute(parameter);

            // Clear the application environment's set of credentials
            UserManagement.Current.Credentials.Clear();
        }