FME Server .NET API

IFMESecurityManager.UserRoleExists Method 

Checks if specified user role exists.

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

Parameters

name
the unique name that identifies the user role

Return Value

true if user role exists, otherwise false if user role does 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