Domino 9 und frühere Versionen > ND6: Entwicklung
Hide when bei Outline funktioniert nicht
Untitled:
Sehe ich das richtig: Du versteckst den Eintrag, falls der Benutzer Mitglied einer Gruppe ist? Sollte es nicht umgekehrt sein?
Was funktioniert denn nicht? Wird der Eintrag dauernd ein- oder ausgeblendet oder eben, wie ich es vermute, genau umgekehrt? ;)
Moritz
Alexis:
Hallo Moritz,
es ist schon so gewollt:
Der Outline-Eintrag soll verborgen werden, wenn der User Mitglied der Gruppe ist.
Der derzeitige Effekt ist, dass das Element NICHT verborgen wird, wenn der User Member ist.
Trage ich @IsNotMember(...) ein passiert ebenfalls NICHTS!
Ich werde das ganze mal mit Rollen versuche.
Alexis
Glombi:
Anstelle des Lookups würde ich mit @UserNameList arbeiten:
For a database on a server or a local database with "Enforce a consistent Access Control List across all replicas" in effect, @UserNamesList returns a text list containing the following information for the current user:
Common name
All hierarchical names (fully distinguished) that include the user name; for example, CN=My Name/OU=My Org Unit/O=My Org, plus */OU=My Org Unit/O=My Org, */O=My Org, and *
Any roles associated with the user in the ACL
All groups to which the user belongs (only if the database is on a server)
Note This @Function is new with Release 5.
Syntax
@UserNamesList
Damit kannst Du dann alles erschlagen ;-)
Andreas
Navigation
[0] Themen-Index
[*] Vorherige Sete
Zur normalen Ansicht wechseln