function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sathisathi 

pls give me solution what to do

here my task is to create a student register form for college website........register form should contain some fields like first name ,last name.....id no,and submit button. when i click on the submit button the record should passes to admin for permission.if the id no matches the activation link ll send to student through email.....; i created the register form but my problem is how to send the record to admin ...
SeAlVaSeAlVa

You could try using another class using 'without sharing' 

public abstract without sharing class AdminRights{
    public static Boolean checkActivationLink(String paramLink){
        Boolean returned = false;
        // your logic here
        return returned;
    }
}

 and then, call checkActivationLink method from your page

Regards,