PrivilegeManager.disablePrivilege() (Method)

A method for removing a privilege from a user.


JavaScript - 1.2
Netscape - 4.0
JavaScript syntax:NmyPrivilegeManager.disablePrivilege(aPrivName)
Argument list:aPrivNameThe name of a privilege to be relinquished

The method should be called with a string argument containing the name of the privilege that is no longer required.

Example code:

   // Relinquish the file reading privilege"UniversalFileRead")

See also:Requesting privileges, UniversalBrowserAccess, UniversalBrowserRead, UniversalBrowserWrite, UniversalFileRead, UniversalPreferencesRead, UniversalPreferencesWrite, UniversalSendMail