The SetUserRole procedure of the syHomePage form sets the user role for the the Home Page.
SetUserRole, HomePageState, UserRole
• HomePageState – A composite parameter of the type syHomePageState that is used to maintain state information for the Home Page.
• UserRole – An integer that specifies the role for the Home Page. This typically corresponds to the constant value created for each role.