FME Server .NET API

IFMESecurityManager.AddUserRole Method 

Adds a user role.

[Visual Basic]
Sub AddUserRole( _
   ByVal role As Safe.FMEServer.API.Security.IFMEUserRole _
)
[C#]
void AddUserRole(
   IFMEUserRole role
);

Parameters

role
the user role to add. The name of the user role must be unique.

Exceptions

Exception TypeCondition
Safe.FMEServer.API.FMEServerException if a FME Server exception occurred. An exception will also occur if user role with the same name already exists.

See Also

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