Page tree
Skip to end of metadata
Go to start of metadata

Description

Gets the name of the local administrators group

 

Syntax

UsrMgr_GetLocalAdministratorsGroupName() As Boolean

 

Return value

Result will be stored in gsValue

 

Example

VBScript
If bStatus Then bStatus = UsrMgr_GetLocalAdministratorsGroupName()
If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)

Scripting Guidelines

 

Related functions

UsrMgr_CreateLocalUser UsrMgr_CreateLocalGroup

  • No labels