RoleInfoProviderValidateCodeName Method |
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax public override bool ValidateCodeName(
RoleInfo info
)
Parameters
- info
- Type: CMS.MembershipRoleInfo
Role info object to check
Return Value
Type:
BooleanRemarks
Since domain role name can be retrieved from different services with different rules for role name,
validation for domain role names can be turned off using CMSEnsureSafeRoleNames key in web.config.
See Also