LdapRoleProvider.DeleteRole method
This member is reserved for internal use and is not intended to be used directly from your code.
Namespace: Microsoft.Office.Server.Security
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Overrides Function DeleteRole ( _
roleName As String, _
throwOnPopulatedRole As Boolean _
) As Boolean
'Usage
Dim instance As LdapRoleProvider
Dim roleName As String
Dim throwOnPopulatedRole As Boolean
Dim returnValue As Boolean
returnValue = instance.DeleteRole(roleName, _
throwOnPopulatedRole)
public override bool DeleteRole(
string roleName,
bool throwOnPopulatedRole
)
Parameters
- roleName
Type: System.String
- throwOnPopulatedRole
Type: System.Boolean
Return value
Type: System.Boolean