CreateRole persists a Role to the Data Store

Namespace: DotNetNuke.Security.Roles
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public override bool CreateRole(
	RoleInfo role
)
Visual Basic
Public Overrides Function CreateRole ( 
	role As RoleInfo
) As Boolean

Parameters

role
Type: DotNetNuke.Security.Roles..::..RoleInfo
The role to persist to the Data Store.

Return Value

A Boolean indicating success or failure.

Remarks