Rockwell-automation FactoryTalk View Machine Edition Users Guide Manuel d'utilisateur Page 193

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 677
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 192
11 Set up security
11-17
• • • • •
This example uses the security function CurrentUserName( ). The function returns the
string value of the Account ID (user name) for the user who is currently logged in.
The CurrentUserName( ) function is case sensitive. All RSView 3.20 and earlier user
names use uppercase letters.
When the application starts, the DEFAULT user is logged in. The DEFAULT user is also
logged in when a user logs out.
To assign visibility animation to the Goto display button
1. Right-click the Goto display button, select Animation > Visibility.
2. In the Animation dialog box, in the Expression box, type this:
CurrentUserName( ) <> “DEFAULT”
3. For the Expression True State, click Visible.
4. Click Apply.
Example: Assign visibility animation to the shutdown button
This example shows how to assign visibility animation to the shutdown button so that
only the ADMIN user can stop the application.
To assign visibility animation to the shutdown button
1. Right-click the shutdown button, select Animation > Visibility.
2. In the Animation dialog box, in the Expression box, type this:
CurrentUserName( ) == “ADMIN”
3. For the Expression True State, click Visible.
4. Click Apply.
Example: Assign visibility animation to the shutdown button
This example shows how to assign visibility animation to the shutdown button so that
only users assigned code G or code H can stop the application.
To assign visibility animation to the shutdown button
1. Right-click the shutdown button, select Animation > Visibility.
2. In the Animation dialog box, in the Expression box, type this:
CurrentUserHasCode(GH)
3. For the Expression True State, click Visible.
Vue de la page 192
1 2 ... 188 189 190 191 192 193 194 195 196 197 198 ... 676 677

Commentaires sur ces manuels

Pas de commentaire