Functions - oauth2

getScopes
Reads the scope(s) for the user with the given username.

getScopes

(string scopes)

returns string[]
Reads the scope(s) for the user with the given username.

Parameters

  • scopes string
  • Set of scopes seperated with a space

  • Return Type

    (string[])
  • Array of groups for the user denoted by the username