Assign Page Permissions via PHP

Permalink
As the title says how can I assigned permissions to a page if i have the page object, i want the admin group to have all permissions, and a single user (the UserInfo object is in the script) to be able to view, but not Guests or other registered users,

i just need the snipped :) thanks!

Mnkras
View Replies: View Best Answer
SVijay replied on at Permalink Reply
SVijay
tash replied on at Permalink Reply
tash
Mnkras,
Did you already look at the URL's that OpenJuiceVijay suggested prior to making this forum post. I assume so, but you know what they say about assuming :P
Mnkras replied on at Permalink Reply
Mnkras
heh, i was sleeping,

those "read" permissions but they do not set them, which is what i need :(
hereNT replied on at Permalink Best Answer Reply
hereNT
Mnkras replied on at Permalink Reply
Mnkras
ill have to try it out, in the core i saw that the $pxml stuff was commented out, we will see :)