Does anyone know of any easy way (Lotus Script OR @Function) if the current user is a member of an author's field?
I admit, if it were just Names in the Authors field, that would be one thing, but I'm including Names and Roles in that field.
Just checking @IsMember/@IsNotMember of @UserRoles will not work if the Name is in the list, and checking @IsMember/@IsNotMember of list of Names won't work either. I'd have to check both, but I'm guessing there is some much easier way to check if the current user can edit the document?
I can't seem to find any method of the NotesDocument or NotesUIDocument to access for this. And there doesn't seem to be any method relating to NotesUIWorkspace for this either. UserAccess will only give me the access level for a given database, not the selected (or open) document.
-MoGryph
[8O)
I admit, if it were just Names in the Authors field, that would be one thing, but I'm including Names and Roles in that field.
Just checking @IsMember/@IsNotMember of @UserRoles will not work if the Name is in the list, and checking @IsMember/@IsNotMember of list of Names won't work either. I'd have to check both, but I'm guessing there is some much easier way to check if the current user can edit the document?
I can't seem to find any method of the NotesDocument or NotesUIDocument to access for this. And there doesn't seem to be any method relating to NotesUIWorkspace for this either. UserAccess will only give me the access level for a given database, not the selected (or open) document.
-MoGryph
[8O)