mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Added page for forbbiden access to signed out users.
This commit is contained in:
@ -201,6 +201,25 @@ ComunicWeb.user.userInfos = {
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* Get advanced informations about a user
|
||||
*
|
||||
* @param {Integer} userID The ID of the user to fetch
|
||||
* @param {Function} callback What to do once we got the information
|
||||
*/
|
||||
getAdvancedInfos: function(userID, callback){
|
||||
|
||||
//Prepare an API request
|
||||
var apiURI = "user/getAdvancedUserInfos";
|
||||
var params = {
|
||||
userID: userID
|
||||
};
|
||||
|
||||
//Perform the request
|
||||
ComunicWeb.common.api.makeAPIrequest(apiURI, params, true, callback);
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* Get the user ID specified by its folder name
|
||||
*
|
||||
|
Reference in New Issue
Block a user