User_Customer_OpenIdConnect
SoftLayer_User_Customer_OpenIdConnect::addPortalPermission

Overview

Add a permission to a portal user's permission set. Permissions control which features in the SoftLayer customer portal and API a user may use. If the user already has the permission you're attempting to add then addPortalPermission() returns true.

Users can assign permissions to their child users, but not to themselves. An account's master has all portal permissions and can set permissions for any of the other users on their account.

Use the SoftLayer_User_Customer_CustomerPermission_Permission::getAllObjects method to retrieve a list of all permissions available in the SoftLayer customer portal and API. Permissions are added based on the keyName property of the permission parameter.

Parameters

permission

SoftLayer_User_Customer_CustomerPermission_Permission

The permission you wish to add to the given user.

Headers

Required Headers: 
SoftLayer_User_Customer_OpenIdConnectInitParameters

Return Values

boolean