Return a globally unique ID (GUID) as a string. The ID that the function returns is generated using random data. The variant type for the ID is DCE 1.1, ISO/IEC 11578:1996.
This function doesn't accept any arguments.
Example
This code example generates a GUID and saves it as a variable called myGUID.
<script runat="server">
Platform.Load("Core","1");
var randomID = Platform.Function.GUID();
</script>
<p>GUID: <ctrl:var name="randomID"/></p>
The output of the code example includes a randomly generated GUID.
GUID: 31558c83-ff02-42c5-ab2d-a1455f9d6d4b