Function grant_role

Source
pub fn grant_role<'a, 'b, 'c, 'info>(
    ctx: CpiContext<'a, 'b, 'c, 'info, GrantRole<'info>>,
    user: Pubkey,
    role: String,
) -> Result<()>