GetPermissionsByUserId Method
Gets the permissions for a user.
Required Permissions
None if the logged in user's Id is entered. Otherwise AdminUserRead is required.Syntax
public Permis[] GetPermissionsByUserId(
System.long userId
)Public Function GetPermissionsByUserId( _
ByVal userId As System.Long _
) As Permis()Parameters
| Name | Description |
|---|---|
| userId | The ID of the user. |
Return Value
An array listing the permissions the user has. This includes any permissions that are granted by being part of a group.