GetUserPolicySettings (NotesSession - LotusScript®)

Gets a policy document.

Note: This method is new with Release 6.

Defined in

NotesSession

Syntax

notesDocument = notesSession .GetUserPolicySettings( server$ , name$ , type% , [explicitPolicy$] , [reserved$] )

Parameters

server$

String. The name of the server containing the policy. An empty string ("") means the local computer.

name$

String. The name of the effective user of the policy. The name must be fully qualified.

type%

Boolean. The type of policy.

  • POLICYSETTINGS_ARCHIVE (2)
  • POLICYSETTINGS_DESKTOP (4)
  • POLICYSETTINGS_REGISTRATION (0)
  • POLICYSETTINGS_SECURITY (3)
  • POLICYSETTINGS_SETUP (1)

explicitPolicy$

String. Optional. The policy namespace, with slash (/) prefix, that contains the settings. If this parameter is specified, name$ is not used.

reserved$

String. Optional. Not used.

Return value

notesDocument

NotesDocument. A read-only document that represents the effective or explicit policy. Returns Nothing if the specified policy is not available.

Usage

See "Policy Documents" in Domino® Administrator Help.

Example