Security group

Hi everybody.
I use security group to allow one or more users to edit accounts.
Thats’s ok.

  • Currently I have a custom js script that validate account fields (phone etc) at creation.
    I want to know how it’s possible to assign a security group in this script?

  • Is it possible to filter my account dashlet to see only accounts of my security group?