FME Server .NET API

IFMEApplicationResource.GetAssignedPermissions Method 

Gets assigned permissions for the specified user role of this application resource.

[Visual Basic]
Function GetAssignedPermissions( _
   ByVal roleName As String _
) As String()
[C#]
string[] GetAssignedPermissions(
   string roleName
);

Parameters

roleName
the user role

Return Value

the assigned permissions for the specified role of this application resource. It's possible null will be returned if the deprecated setAssignedUserRoles method was used. If null, then this implies all permissions are assigned. To get the available resource permissions names the security category should be queried. An empty list of permission names implies the role is not assigned to this resource.

See Also

IFMEApplicationResource Interface | IFMEApplicationResource Members | Safe.FMEServer.API.Security Namespace