GetUserIdFromResourceId

From Catglobe Wiki
Jump to: navigation, search

[Obsolete - Please use GetResourceUniqueIdFromGuid]

getUserIdFromResourceId

Gets the user's id by its Guid.

Syntax

getUserIdFromResourceId(guid)

Arguments

guid: is a string expression. It is the Guid of the user.

Return type

number. It's userId

Examples

number id = getUserIdFromResourceId("279041CD-4D53-4C8F-9220-00751BD5C77B");

//28775

Availability

Version 4.8