Unclassified NewsBoard Code Reference

IPost.SetUser function

Set author user id

function IPost.SetUser ($User = false, $UserName = false, $EditUser = false);

Parameters:

User  –  optional, default: false
(int) new author user id. will be ignored if false
UserName  –  optional, default: false
(string) new author user name. will be ignored if false
EditUser  –  optional, default: false
(int) new edit user id. will be ignored if false

Return value:

(bool) success

Member of class: IPost

Implementation file: unb_lib/post.lib.php, line 499

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.