Linux Mac OSX Windows
 nsIProfile
 
 @status FROZEN
 @version 1.0
[scriptable, uuid(02b0625a-e7f3-11d2-9f5a-006008a6efe9)]
interface nsIProfile : nsISupports

Constants


        
const unsigned long SHUTDOWN_PERSIST = 1

        
const unsigned long SHUTDOWN_CLEANSE = 2

Attributes


        
attribute wstring currentProfile

        
readonly attribute long profileCount

Methods


        
void cloneProfile(in wstring profileName)

        
void createNewProfile(in wstring profileName, in wstring nativeProfileDir, in wstring langcode, in boolean useExistingDir)

        
void deleteProfile(in wstring name, in boolean canDeleteFiles)

        
void getProfileList(out unsigned long length, [array, size_is(length), retval] out wstring profileNames)

        
boolean profileExists(in wstring profileName)

        
void renameProfile(in wstring oldName, in wstring newName)

        
void shutDownCurrentProfile(in unsigned long shutDownType)