g4ms_getGroupID

*//////////////////////////////////////////////////////////////*

* g4ms_getGroupID - Get a Group ID from a Group Name *

* *

* Returns: *

* Group ID for the Group Name *

* *

* Input Variables *

* In_groupName - The Group Name *

* *

* Output Variables: *

* Out_errMsg - Error Message *

* *

* Settable Variables ([r]=required) *

* service - The service to register [r] *

* ccsid - The CCSID to use (1208) *

* debug - Turn on Debug (*NO, *YES) *

* debug_file - The debug file name. *

* (/tmp/g4ms_[id]_getGroupID.txt) *

* *

*//////////////////////////////////////////////////////////////*

D g4ms_getGroupID...

D PR 256

D In_groupName 256

D Out_errMsg 256 Options(*NOPASS)

g4ms_getGroupID is used to retrieve the Group ID using a Group Name.

Returns: Group ID for success, *ERR for error.

Input Parameters:

  • In_groupName - The Group Name to retrieve the ID for. (case sensitive)

Output Parameters:

  • Out_errorMsg - An error message if an error was encountered.

Settable Variables:

  • id - Microsoft ID [required]

  • service - The service to retrieve an ID for [required] (this will be *ONEDRIVE365 most of the time)

  • ccsid - The CCSID to use (1208)

  • debug - Turn on Debug (*NO, *YES)

  • debug_file - The debug file name. The default is /tmp/g4ms_[id]_getRegistrationURL.txt)