Save a role

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function SaveRole( _ 
ByVal role As RoleDefinition, _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID SaveRole( 
RoleDefinition role
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ SaveRole( 
RoleDefinition^ role
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function SaveRole( 
role : RoleDefinition
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

role
Type: RoleDefinition

<default>

db
Type: IDatabase

<default>

Return Value

Type: EntityID

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1