summaryM:DotNetNuke.Security.Roles.RoleController.AddRole(DotNetNuke.Security.Roles.RoleInfo,System.Boolean)

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

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Deprecated in DotNetNuke 5.0. This function has been replaced by AddRole(role)")]
public int AddRole(
	RoleInfo role,
	bool synchronizationMode
)
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Never)> 
<ObsoleteAttribute("Deprecated in DotNetNuke 5.0. This function has been replaced by AddRole(role)")> 
Public Function AddRole ( 
	role As RoleInfo,
	synchronizationMode As Boolean
) As Integer

Parameters

role
Type: DotNetNuke.Security.Roles..::..RoleInfo
paramroleM:DotNetNuke.Security.Roles.RoleController.AddRole(DotNetNuke.Security.Roles.RoleInfo,System.Boolean)
synchronizationMode
Type: System..::..Boolean
paramsynchronizationModeM:DotNetNuke.Security.Roles.RoleController.AddRole(DotNetNuke.Security.Roles.RoleInfo,System.Boolean)

Return Value

returnsM:DotNetNuke.Security.Roles.RoleController.AddRole(DotNetNuke.Security.Roles.RoleInfo,System.Boolean)

See Also