assignRuleSetToUser

Assigns a policy to a user. To remove any existing policy from the user, pass an empty string as the policy name.

Arguments

Name Type Description
skey string

userid string

The ID of the user to assign the policy to.

rulesetname string

The name of the policy to assign.

Return

The assignRuleSetToUser method returns a string.