Ejemplo n.º 1
0
function vtws_getOwnerType($ownerId)
{
    if (vtws_isRecordOwnerGroup($ownerId) == true) {
        return 'Groups';
    }
    if (vtws_isRecordOwnerUser($ownerId) == true) {
        return 'Users';
    }
    throw new WebServiceException(WebServiceErrorCode::$INVALIDID, "Invalid owner of the record");
}
Ejemplo n.º 2
0
function vtws_getOwnerType($ownerId)
{
    /** Б• 150824ГeГXГg СеМF  Б• ******/
    return 'Users';
    /** Б£ 150824ГeГXГg СеМF  Б£ ******/
    if (vtws_isRecordOwnerGroup($ownerId) == true) {
        return 'Groups';
    }
    if (vtws_isRecordOwnerUser($ownerId) == true) {
        return 'Users';
    }
    //Б°М†МјБ|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|Б|
    throw new WebServiceException(WebServiceErrorCode::$INVALIDID, "Invalid owner of the record");
}