I want to set the SPRoleType.None to a page for a user but I have a problem using roleDef = web.RoleDefinitions.GetByType(SPRoleType.None);

I understand that for None and Guest this can't be done that way.

How can I achive this ?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.