modules/orionode/lib/user.js
function isAdmin(options, username) {
	return (options.configParams.get("orion.auth.user.creation") || "").split(",").some(function(user) {
		return user === username;
	});
}
function isAdmin(options, username) {
	return (options.configParams.get("orion.auth.user.creation") || "").split(",").some(function(user) {
		return user === username;
	});
}
function isAdmin ( options , username ) { return ( options . configParams . get ( "orion.auth.user.creation" ) || "" ) . split ( "," ) . some ( function ( user ) { return user === username ; } ) ; }
Checks if the 'admin' user has been enabled in the server configuration
@param {?} options The map of server options
@see https://wiki.eclipse.org/Orion/Server_admin_guide#Allowing_users_to_create_accounts
@since 18.0
Checks if the admin user has been enabled in the server configuration