Domino 9 und frühere Versionen > Entwicklung

Namen der User einer Rolle...

<< < (2/2)

ata:
... Sorry, das ist natürlich richtig. Wie ich sehe hast du das Objekt NotesName gefunden...

ata   :-[ :-[ :-[

eknori:
OK, um auch diesen Thread zu schließen; hier die Funktion in Script

Function UIDCn(ids)
' This function performs roughly the same task as @Name([CN]...);
' If passed an array, it will process each element separately and return an' array as a result.
   If Isarray(ids) Then
      Dim i%
      Redim r$(Lbound(ids) To Ubound(ids))
      For i = Lbound(ids) To Ubound(ids)
         r$(i) = UIDCn(ids(i))
      Next
      UIDCn = r$
   Else
      UIDCn = Trim(Replacesubstring(vWord(vWord(Cstr(ids), "/<@", 1), "=", -1), """", ""))
   End If
End Function

eknori

ata:
... hey, das Konstrukt habe ich so auch noch nicht gesehen - ich bin baff... :o :o :o

ata

Navigation

[0] Themen-Index

[*] Vorherige Sete

Zur normalen Ansicht wechseln