FME Server .NET API

IFMESecurityManager.GetUserRole Method 

Gets the specified user role.

[Visual Basic]
Function GetUserRole( _
   ByVal name As String _
) As Safe.FMEServer.API.Security.IFMEUserRole
[C#]
IFMEUserRole GetUserRole(
   string name
);

Parameters

name
the unique name that identifies the user role

Return Value

a user role. If no user role found for specified name, then null is returned.

Exceptions

Exception TypeCondition
Safe.FMEServer.API.FMEServerExceptionif a FME Repository exception occurred

See Also

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