FME Server .NET API

IFMESecurityManager.RemoveUserRole Method 

Removes the specified user role.

[Visual Basic]
Function RemoveUserRole( _
   ByVal name As String _
) As Boolean
[C#]
bool RemoveUserRole(
   string name
);

Parameters

name
the unique user role that identifies the user account

Return Value

true if user role existed and was removed, otherwise false if user role did not exist

Exceptions

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

See Also

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