[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 873
  • Last Modified:

Looking for a LotusScript equivalent to @UserRoles

I'm looking for a LotusScript equivalent to the @UserRoles function.

@UserRoles takes into account user group memberships, the UniformAccess property when combined with local db access, and more -- making writing a LotusScript equivalent not-so-simple.
0
DButler
Asked:
DButler
1 Solution
 
Simon_HendryCommented:
Why do you want to reinvent the wheel ???

Why not just use evaluate()

' Code Starts

Dim Eval As Variant
Eval = Evaluate("@UserRoles")

Forall Roles in Eval
  Print Cstr(Roles)
End Forall
0
 
DButlerAuthor Commented:
I've just played with Evaluate -- a wonderful function!!!
Too easy!!!
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now